I'm using shotgun to serve my Sinatra project on Ubuntu development machine. And when I'm starting shotgun with -d (debug), it returns me
Exception `LoadError' at /home/askhat/.rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55 - cannot load such file -- thin
Exception `LoadError' at /home/askhat/.rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/resolv.rb:169 - LoadError
But thin gem is installed. Actually shotgun works properly with this error. There is no problem, just interesting why it's appends?
do you have a
Gemfilein your app? usually it should be enough to addthintoGemfileas RVM usesrubygems-bundlergem which automatically assumesbundle execcontext for binaries that are installed from gems viaGemfile.