- fixed precompiling of rails assets in cli runner
This commit is contained in:
parent
447dc60ede
commit
acbcf256a6
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user