title: gem_original_require': no such file to load -- sinatra (LoadError)
body: <p>I'm working on my local machine. If I use a Sinatra app I have no problem adding this line to <strong>myapp.rb</strong></p>
  
  <pre><code>require 'sinatra'
  </code></pre>
  
  <p>When I go to the console and I run</p>
  
  <pre><code>irb -r myapp.rb
  </code></pre>
  
  <p>I get this error</p>
  
  <pre><code>gem_original_require': no such file to load -- sinatra (LoadError)
  </code></pre>
  
  <p>I understand that either my IRB or Ruby path is not looking right. I am using (Simple Ruby Version Management: rbenv) to manage the Ruby environment not too sure if this affects things? I ran the <strong>gem env</strong> and I got this.</p>
  
  <pre><code>RubyGems Environment:  
    - RUBYGEMS VERSION: 1.8.10  
    - RUBY VERSION: 1.9.2 (2011-07-09 patchlevel 290) [x86_64-darwin11.0.1]  
    - INSTALLATION DIRECTORY: /Users/Air/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1  
    - RUBY EXECUTABLE: /Users/Air/.rbenv/versions/1.9.2-p290/bin/ruby  
    - EXECUTABLE DIRECTORY: /Users/Air/.rbenv/versions/1.9.2-p290/bin  
    - RUBYGEMS PLATFORMS:  
      - ruby  
      - x86_64-darwin-11  
    - GEM PATHS:  
       - /Users/Air/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1  
       - /Users/Air/.gem/ruby/1.9.1  
    - GEM CONFIGURATION:  
       - :update_sources =&gt; true  
       - :verbose =&gt; true  
       - :benchmark =&gt; false  
       - :backtrace =&gt; false  
       - :bulk_threshold =&gt; 1000  
    - REMOTE SOURCES:  
       - http://rubygems.org/  
  </code></pre>