title: RUBYLIB Environment Path
body: <p>So currently I have included the following in my .bashrc file.</p>
  
  <pre><code>export RUBYLIB=/home/git/project/app/helpers
  </code></pre>
  
  <p>I am trying to run rspec with a spec that has</p>
  
  <pre><code>require 'output_helper'
  </code></pre>
  
  <p>This file is in the helpers directory.  My question is that when I change the export line to: </p>
  
  <pre><code>export RUBYLIB=/home/git/project/
  </code></pre>
  
  <p>It no longer finds the helper file.  I thought that ruby should search the entire path I supply, and not just the outermost directory supplied?  Is this the correct way to think about it?  And if not, how can I make it so RUBY will search through all subdirectories and their subdirectories, etc?</p>
  
  <p>Thanks,</p>
  
  <p>Robin</p>