Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

  • Loading branch information...
commit 9c7e8850073fdefa17367b8fec256257c31559bc 1 parent 3b8a7cf
@guilleiguaran guilleiguaran authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.