Permalink
Browse files

Merge pull request #3015 from guilleiguaran/clear-tmp-cache-on-precom…

…pile

Clear cache before of each precompile to avoid inconsistencies. Fixes #3014
  • Loading branch information...
2 parents 425362d + 9c7e885 commit 63f6fad6442733a471f919afffc73eb906fa3e2a @josevalim josevalim committed Sep 14, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 actionpack/lib/sprockets/assets.rake
View
1 actionpack/lib/sprockets/assets.rake
@@ -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

0 comments on commit 63f6fad

Please sign in to comment.