Skip to content

Commit

Permalink
Merge pull request rails#3121 from cablegram/3-1-stable
Browse files Browse the repository at this point in the history
Re-launch assets:precompile task using (Rake.)ruby instead of Kernel.exec so it works on Windows
  • Loading branch information
spastorino committed Sep 24, 2011
2 parents 3200cd0 + 21f1e45 commit 6cb0d35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actionpack/lib/sprockets/assets.rake
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace :assets do
if ENV["RAILS_GROUPS"].to_s.empty? || ENV["RAILS_ENV"].to_s.empty?
ENV["RAILS_GROUPS"] ||= "assets"
ENV["RAILS_ENV"] ||= "production"
Kernel.exec $0, *ARGV
ruby $0, *ARGV
else
require "fileutils"
Rake::Task["tmp:cache:clear"].invoke
Expand Down

0 comments on commit 6cb0d35

Please sign in to comment.