Problem with deploying using Capistrano from Windows

You can issue the chmod after a code update.

You should have a task (or you can create it) called after_code_update, that automatically runs after it updates the code into a releases dir -- where you can issue the chmod command:

desc "Tasks to execute after code update" task :after_update_code, :roles => [:app, :db] do   # fix permissions   run "chmod +x #{release_path}/script/spawner"   run "chmod +x #{release_path}/script/spawner" end

hope that helps,