lib/caploy/recipes/deploy.rb in caploy-1.0.1 vs lib/caploy/recipes/deploy.rb in caploy-1.0.2

- old
+ new

@@ -86,10 +86,10 @@ end desc 'generate nondigest assets after default precompiling' task :compile_nondigest_assets do on roles(:app) do - execute "cd #{current_path}; RAILS_ENV=#{fetch(:rails_env)} #{fetch(:rake)} assets:precompile:nondigest" + execute "cd #{release_path}; RAILS_ENV=#{fetch(:rails_env)} #{fetch(:rake)} assets:precompile:nondigest" end end after 'deploy:compile_assets', 'deploy:compile_nondigest_assets' desc "checks whether the currently checkout out revision matches the