Skip to content

Commit

Permalink
Merge pull request rails#3015 from guilleiguaran/clear-tmp-cache-on-p…
Browse files Browse the repository at this point in the history
…recompile

Clear cache before of each precompile to avoid inconsistencies. Fixes rails#3014
  • Loading branch information
josevalim committed Sep 14, 2011
2 parents 425362d + 9c7e885 commit 63f6fad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions actionpack/lib/sprockets/assets.rake
Expand Up @@ -9,6 +9,7 @@ namespace :assets do
Kernel.exec $0, *ARGV
else
Rake::Task["environment"].invoke
Rake::Task["tmp:cache:clear"].invoke

# Ensure that action view is loaded and the appropriate sprockets hooks get executed
ActionView::Base
Expand Down

0 comments on commit 63f6fad

Please sign in to comment.