title: How to get fileutils calls to output their actions in a Rakefile?
body: <p>I have a Rakefile which, on my own-built Ruby 1.9.3 installation, correctly outputs the Unix shell equivalent when I use a FileUtils method such as <code>cp</code>, <code>mkdir</code> etc.</p>
  
  <p>However, on the stock Ruby that ships with Mac OS X (specifically 10.5), which is version 1.8.6, they don't do this.</p>
  
  <p>I'd like them to output the commands as they're performed. Is there a way to enable this in OS X's 1.8.6 Ruby, short of adding <code>:verbose =&gt; true</code> to every call? (Which may not even work.)</p>
  
  <p>The Rakefile in question is: <a href="https://github.com/dpkendal/tools-osx/blob/master/Rakefile" rel="nofollow">https://github.com/dpkendal/tools-osx/blob/master/Rakefile</a></p>