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