I have defined a custom Capistrano task that's supposed to run locally (on my development machine):
desc "Push code to Dreamhost"
task :push do
run "git push dreamhost"
end
however when I try to run cap push
it executes it on the remote machine, ie.
* executing `push'
* executing "git push dreamhost"
servers: ["ec2-999-99-999-999.compute-1.amazonaws.com"]
how do I get it to execute locally instead?