Browse files

Fix problems identified when testing gem installation, more files nee…

…ded updating.
  • Loading branch information...
1 parent 250a2fa commit 3586c9d55839aa2f4692360cd384258c50550f45 @parndt parndt committed May 6, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/refinery-update-core
View
2 bin/refinery-update-core
@@ -9,7 +9,7 @@ unless rails_root.nil? or rails_root.length == 0
FileUtils::makedirs dirs.map {|dir| File.join(rails_root, dir) }
# copy in the new assets.
- assets = [%w(public stylesheets refinery), %w(public javascripts refinery), %w(public javascripts wymeditor), %w(VERSION), %w(public images wymeditor skins refinery), %w(public images refinery)]
+ assets = [%w(public stylesheets refinery), %w(public javascripts refinery), %w(public javascripts wymeditor), %w(VERSION), %w(public images wymeditor skins refinery), %w(public images refinery), %w(public stylesheets wymeditor skins refinery), %w(public javascripts jquery)]
assets.each do |asset|
FileUtils::rm_rf File.join(rails_root, asset), :secure => true # ensure the destination is clear.
FileUtils::cp_r File.join(refinery_root, asset), File.join(rails_root, asset) # copy the new assets into the project.

0 comments on commit 3586c9d

Please sign in to comment.