title: Execute bash commands from a Rakefile
body: <p>I would like to execute a number of <code>bash</code> commands from a <code>Rakefile</code>.</p>
  
  <p>I have tried the following in my <code>Rakefile</code> </p>
  
  <pre><code>task :hello do
    %{echo "World!"}
  end
  </code></pre>
  
  <p>but upon executing <code>rake hello</code> there is no output?
  How do I execute bash commands from a Rakefile?</p>
  
  <p><strong>NOTE</strong>:This is not a duplicate as it's specifically asking how to execute bash commands from a <em>Rakefile</em>.</p>