task :fixitup doon roles(:db) do |host|upload! './my-local-script.rb', './my-script.rb'execute :ruby, "./my-script.rb"endendafter "deploy:starting", "fixitup"
--
You received this message because you are subscribed to the Google Groups "Capistrano" group.
To unsubscribe from this group and stop receiving emails from it, send an email to capistrano+...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/capistrano/a3272533-6f1f-4386-9aa2-f858bf376bec%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Capistrano runs locally, you can script commands to replace your script, or upload it.
To view this discussion on the web, visit https://groups.google.com/d/msgid/capistrano/276f8bc4-d956-43a3-8be9-6929a37afeb7%40googlegroups.com.