- fixed precompiling of rails assets in cli runner

This commit is contained in:
Axel Kelting 2011-11-01 17:31:51 +01:00
parent 447dc60ede
commit acbcf256a6

View File

@ -9,7 +9,7 @@ module Guard
def compile_assets def compile_assets
task = "assets:precompile" task = "assets:precompile"
task += ":nondigest" unless @digest task += ":nondigest" unless @digest
system "RAILS_ENV=#{@rails_env} bundle exec rake assets:clean #{task}" system "bundle exec rake assets:clean #{task} RAILS_ENV=#{@rails_env}"
end end
end end
end end