title: Running files in a directory recursively using ruby
body: <p>I'm working on script right now which has to run each ruby script in a directory and its subfolders.</p>
  
  <p>e.g. </p>
  
  <pre><code>run-all.rb
  - scripts
    - folder1
      - script1.rb
      - script2.rb
    - folder2
      - script3.rb
      - script4.rb
  </code></pre>
  
  <p>As the server is a Windows server I would normally use a batch file but the head dev insists everything must be done in ruby as some members have Macs and may not understand Windows Batch Files.</p>
  
  <p>As the question may have given away, my knowledge of Ruby is very basic.</p>