From 9c7e8850073fdefa17367b8fec256257c31559bc Mon Sep 17 00:00:00 2001 From: Guillermo Iguaran Date: Tue, 13 Sep 2011 22:05:46 -0500 Subject: Clear cache before of each precompile to avoid inconsistencies. Fixes #3014 --- actionpack/lib/sprockets/assets.rake | 1 + 1 file changed, 1 insertion(+) (limited to 'actionpack/lib/sprockets/assets.rake') diff --git a/actionpack/lib/sprockets/assets.rake b/actionpack/lib/sprockets/assets.rake index ee8ca1b3dd..b7e8f39b43 100644 --- a/actionpack/lib/sprockets/assets.rake +++ b/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 -- cgit v1.2.3