title: Add $LOAD_PATH externally
body: <p>I understand that to add a path to $LOAD_PATH just do</p>
  
  <pre><code>$LOAD_PATH.unshift(path)
  </code></pre>
  
  <p>But I have to add this line to every program I wrote. Is there anyway to add it to the system level?</p>
  
  <p>I tried to search a bit on the startup script for Ruby, but did not find the answer. I tried to add this line to <code>kernel/common/module.rb</code>, <code>ruby_constants.rb</code>, <code>loader.rb</code>,etc. but neither works.</p>
  
  <p>In which file should I add this line to?</p>
  
  <hr>
  
  <p>Updates:</p>
  
  <p>I am using ubuntu 10.04 and Rubinius. There is no system variable called <code>RUBYLIB</code>.</p>
  
  <p>Tried creating one but did not work. But I realize I made a mistake, and forgot to add the variable in bash script <code>.bashrc</code>. After adding the variable, it all works fine!</p>