From acbcf256a6351e1722fd969ffd802f67a1cfe43d Mon Sep 17 00:00:00 2001 From: Axel Kelting Date: Tue, 1 Nov 2011 17:31:51 +0100 Subject: [PATCH] - fixed precompiling of rails assets in cli runner --- lib/guard/rails-assets/cli_runner.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/guard/rails-assets/cli_runner.rb b/lib/guard/rails-assets/cli_runner.rb index a47d905..a04cbb6 100644 --- a/lib/guard/rails-assets/cli_runner.rb +++ b/lib/guard/rails-assets/cli_runner.rb @@ -9,7 +9,7 @@ module Guard def compile_assets task = "assets:precompile" 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