Clear cache before of each precompile to avoid inconsistencies. Fixes #3014

This commit is contained in:
Guillermo Iguaran
2011-09-13 22:05:46 -05:00
parent 3b8a7cf2a7
commit 9c7e885007

View File

@@ -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