title: Issues with Sinatra and Ruby 1.9.2 on Shotgun
body: <p>I have a simple sinatra app.</p>
  
  <pre><code>require 'rubygems'
  require 'sinatra'
  
  get '/' do
    "Hello"
  end
  </code></pre>
  
  <p>When I run it on Shotgun I get the following error: </p>
  
  <blockquote>
    <p>Boot Error</p>
    
    <p>Something went wrong while loading
    simple.rb</p>
    
    <p>LoadError: no such file to load --
    simple.rb</p>
    
    <p>:29:in
    <code>require'
    &lt;internal:lib/rubygems/custom_require&gt;:29:in
    </code>require'
    /home/thedinga/.rvm/gems/ruby-1.9.2-p0@global/gems/shotgun-0.8/lib/shotgun/loader.rb:114:in
    <code>inner_app'
    /home/thedinga/.rvm/gems/ruby-1.9.2-p0@global/gems/shotgun-0.8/lib/shotgun/loader.rb:102:in
    </code>assemble_app'
    /home/thedinga/.rvm/gems/ruby-1.9.2-p0@global/gems/shotgun-0.8/lib/shotgun/loader.rb:86:in
    <code>proceed_as_child'
    /home/thedinga/.rvm/gems/ruby-1.9.2-p0@global/gems/shotgun-0.8/lib/shotgun/loader.rb:31:in
    </code>call!'
    /home/thedinga/.rvm/gems/ruby-1.9.2-p0@global/gems/shotgun-0.8/lib/shotgun/loader.rb:18:in
    <code>call'
    /home/thedinga/.rvm/gems/ruby-1.9.2-p0@global/gems/shotgun-0.8/lib/shotgun/favicon.rb:12:in
    </code>call'
    /home/thedinga/.rvm/gems/ruby-1.9.2-p0@global/gems/rack-1.2.1/lib/rack/builder.rb:77:in
    <code>call'
    /home/thedinga/.rvm/gems/ruby-1.9.2-p0@global/gems/rack-1.2.1/lib/rack/content_length.rb:13:in</code>call'
    /home/thedinga/.rvm/gems/ruby-1.9.2-p0@global/gems/rack-1.2.1/lib/rack/handler/webrick.rb:52:in
    <code>service'
    /home/thedinga/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/webrick/httpserver.rb:111:in
    </code>service'
    /home/thedinga/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/webrick/httpserver.rb:70:in
    <code>run'
    /home/thedinga/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/webrick/server.rb:183:in
    </code>block in start_thread'</p>
  </blockquote>
  
  <p>If i were to use <code>ruby simple.rb</code> instead of shotgun, I get the output you'd expect in a browser. As a sidenote, if I push it to Heroku (which I would really like to run a sinatra app on), Heroku will fail to run the app as well. Is this a version issue with 1.9.2 ? or am I missing something else?</p>