lib/capistrano/local_precompile.rb in capistrano-local-precompile-1.0.0 vs lib/capistrano/local_precompile.rb in capistrano-local-precompile-1.0.1
- old
+ new
@@ -36,11 +36,11 @@
desc "Actually precompile the assets locally"
task :prepare do
run_locally do
with rails_env: fetch(:precompile_env) do
- execute :bundle, "exec rake assets:clean"
- execute :bundle, "exec rake assets:precompile"
+ execute "rake assets:clean"
+ execute "rake assets:precompile"
end
end
end
desc "Performs rsync to app servers"