title: How do I run multiple Rake tasks programmatically at once?
body: <p>At the command line I can run multiple tasks like this</p>
  
  <pre><code>rake environment task1 task2 task3
  </code></pre>
  
  <p>How can I do this programmatically? I know that I can run one task like this</p>
  
  <pre><code>Rake::Task['task1'].invoke
  </code></pre>