Skip to content

Commit

Permalink
Fix problems identified when testing gem installation, more files nee…
Browse files Browse the repository at this point in the history
…ded updating.
  • Loading branch information
parndt committed May 6, 2010
1 parent 250a2fa commit 3586c9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/refinery-update-core
Expand Up @@ -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.
Expand Down

0 comments on commit 3586c9d

Please sign in to comment.