title: How to run multiple tasks in Ruby?
body: <p>I have a Capistrano deploy.rb script which has multiple tasks that can be invoked on the command line</p>
  
  <pre><code>cap site1_to_live deploy
  cap site2_to_live deploy
  (...etc)
  </code></pre>
  
  <p>I have tried combining these into a single task as follows</p>
  
  <pre><code>task :all_to_live do
    site1_to_live
    site2_to_live
    site3_to_live
  end
  </code></pre>
  
  <p>However, only one of the tasks is executed.  How can I get all of them to run?</p>