title: Equivalent of chmod +x in Ruby
body: <p>In Linux, it is very easy "just" to add executable to a file, simply by input:</p>
  
  <pre><code>chmod +x &lt;fname&gt;
  </code></pre>
  
  <p>However, I have failed to find something as easy in the gems of Ruby. Of course, one could do a system call, i.e.</p>
  
  <pre><code>system( 'chmod +x' &lt;&lt; fname )
  </code></pre>
  
  <p>However, I am looking for something more 'elegant'.</p>
  
  <p>I'm using Ruby 1.8.7.</p>