title: load works on local path, require doesn't
body: <p>loadee.rb</p>
  
  <pre><code>puts '&gt; This is the second file.'
  </code></pre>
  
  <p>loaddemo.rb</p>
  
  <pre><code>puts 'This is the first (master) program file.'
  load 'loadee.rb'
  puts 'And back again to the first file.'
  </code></pre>
  
  <p>When I run <code>"ruby loaddemo.rb"</code>, This works fine. Both files are in the same directory, and that's the directory I run from.</p>
  
  <p>But if I change the load to a require, and with or without the extension I get:</p>
  
  <pre><code>&lt;internal:lib/rubygems/custom_require&gt;:29:in `require': no such file to load
   -- loadee.rb (LoadError)
          from &lt;internal:lib/rubygems/custom_require&gt;:29:in `require'
          from loaddemo.rb:2:in `&lt;main&gt;'
  </code></pre>
  
  <p>My question is of course, why isn't require working in this case?  It should, right?  Do load and require use different paths?</p>
  
  <p>Ruby version 1.9.2</p>