diff options
author | Sam Pohlenz <sam@sampohlenz.com> | 2011-10-03 16:06:04 +1030 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2011-10-03 11:18:49 +0200 |
commit | 6f429f375e43529f2dd1a2f37cbaabeef40c6ea9 (patch) | |
tree | bdb2cf52470e847547311b82efdd48e3b616639d /actionpack | |
parent | 0e1f7e0058bc06d9a9356f5b2a1e06447c024f46 (diff) | |
download | rails-6f429f375e43529f2dd1a2f37cbaabeef40c6ea9.tar.gz rails-6f429f375e43529f2dd1a2f37cbaabeef40c6ea9.tar.bz2 rails-6f429f375e43529f2dd1a2f37cbaabeef40c6ea9.zip |
Ensure that enhancements to assets:precompile task are only run once
Signed-off-by: José Valim <jose.valim@gmail.com>
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/sprockets/assets.rake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/actionpack/lib/sprockets/assets.rake b/actionpack/lib/sprockets/assets.rake index 7b86d84a27..ff678426ab 100644 --- a/actionpack/lib/sprockets/assets.rake +++ b/actionpack/lib/sprockets/assets.rake @@ -7,6 +7,7 @@ namespace :assets do ENV["RAILS_GROUPS"] ||= "assets" ENV["RAILS_ENV"] ||= "production" ruby $0, *ARGV + exit else require "fileutils" Rake::Task["tmp:cache:clear"].invoke @@ -42,6 +43,7 @@ namespace :assets do end ENV["RAILS_ASSETS_NONDIGEST"] = "true" ruby $0, *ARGV + exit end end end |