Code Monkey home page Code Monkey logo

Comments (5)

rupe avatar rupe commented on July 24, 2024

I would really like to know what is causing this as well. I am experiencing the same error with a different gem (sinatra/flash) that is being pulled from github (Gemfile - gem git....sinatra-flash.git, require 'sinatra/flash').

But when I just use rackup, with thin, there is no problem at all. Here is my output for reference:

LoadError: cannot load such file -- sinatra/flash

/Users/u/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/custom_require.rb:36:in `require'
/Users/u/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/custom_require.rb:36:in `require'
/Users/u/Dropbox/Working/Sites/tedi.us/app.rb:10:in `block in <top (required)>'
/Users/u/Dropbox/Working/Sites/tedi.us/app.rb:10:in `each'
/Users/u/Dropbox/Working/Sites/tedi.us/app.rb:10:in `<top (required)>'
/Users/u/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/custom_require.rb:36:in `require'
/Users/u/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/custom_require.rb:36:in `require'
config.ru:4:in `block in inner_app'
/Users/u/.rvm/gems/ruby-2.0.0-p247@global/gems/rack-1.5.2/lib/rack/builder.rb:55:in `instance_eval'
/Users/u/.rvm/gems/ruby-2.0.0-p247@global/gems/rack-1.5.2/lib/rack/builder.rb:55:in `initialize'
config.ru:1:in `new'
config.ru:1:in `inner_app'
/Users/u/.rvm/gems/ruby-2.0.0-p247@global/gems/shotgun-0.9/lib/shotgun/loader.rb:112:in `eval'
/Users/u/.rvm/gems/ruby-2.0.0-p247@global/gems/shotgun-0.9/lib/shotgun/loader.rb:112:in `inner_app'
/Users/u/.rvm/gems/ruby-2.0.0-p247@global/gems/shotgun-0.9/lib/shotgun/loader.rb:102:in `assemble_app'
/Users/u/.rvm/gems/ruby-2.0.0-p247@global/gems/shotgun-0.9/lib/shotgun/loader.rb:86:in `proceed_as_child'
/Users/u/.rvm/gems/ruby-2.0.0-p247@global/gems/shotgun-0.9/lib/shotgun/loader.rb:31:in `call!'
/Users/u/.rvm/gems/ruby-2.0.0-p247@global/gems/shotgun-0.9/lib/shotgun/loader.rb:18:in `call'
/Users/u/.rvm/gems/ruby-2.0.0-p247@global/gems/shotgun-0.9/lib/shotgun/favicon.rb:12:in `call'
/Users/u/.rvm/gems/ruby-2.0.0-p247@global/gems/shotgun-0.9/lib/shotgun/static.rb:14:in `call'
/Users/u/.rvm/gems/ruby-2.0.0-p247@global/gems/rack-1.5.2/lib/rack/builder.rb:138:in `call'
/Users/u/.rvm/gems/ruby-2.0.0-p247@global/gems/thin-1.6.2/lib/thin/connection.rb:86:in `block in pre_process'
/Users/u/.rvm/gems/ruby-2.0.0-p247@global/gems/thin-1.6.2/lib/thin/connection.rb:84:in `catch'
/Users/u/.rvm/gems/ruby-2.0.0-p247@global/gems/thin-1.6.2/lib/thin/connection.rb:84:in `pre_process'
/Users/u/.rvm/gems/ruby-2.0.0-p247@global/gems/thin-1.6.2/lib/thin/connection.rb:53:in `process'
/Users/u/.rvm/gems/ruby-2.0.0-p247@global/gems/thin-1.6.2/lib/thin/connection.rb:39:in `receive_data'
/Users/u/.rvm/gems/ruby-2.0.0-p247@global/gems/eventmachine-1.0.3/lib/eventmachine.rb:187:in `run_machine'
/Users/u/.rvm/gems/ruby-2.0.0-p247@global/gems/eventmachine-1.0.3/lib/eventmachine.rb:187:in `run'
/Users/u/.rvm/gems/ruby-2.0.0-p247@global/gems/thin-1.6.2/lib/thin/backends/base.rb:73:in `start'
/Users/u/.rvm/gems/ruby-2.0.0-p247@global/gems/thin-1.6.2/lib/thin/server.rb:162:in `start'
/Users/u/.rvm/gems/ruby-2.0.0-p247@global/gems/rack-1.5.2/lib/rack/handler/thin.rb:16:in `run'
/Users/u/.rvm/gems/ruby-2.0.0-p247@global/gems/shotgun-0.9/bin/shotgun:156:in `<top (required)>'
/Users/u/.rvm/gems/ruby-2.0.0-p247@global/bin/shotgun:19:in `load'
/Users/u/.rvm/gems/ruby-2.0.0-p247@global/bin/shotgun:19:in `<main>'
/Users/u/.rvm/gems/ruby-2.0.0-p247@geo-wip/bin/ruby_executable_hooks:15:in `eval'
/Users/u/.rvm/gems/ruby-2.0.0-p247@geo-wip/bin/ruby_executable_hooks:15:in `<main>'

from shotgun.

zmpeg avatar zmpeg commented on July 24, 2024

I had this issue today, It turns out that I had forgotten to add the gem to my Gemfile and had instead just done a gem install [gemname]

from shotgun.

safetymonkey avatar safetymonkey commented on July 24, 2024

Yeah, unfortunately that's not my issue. I have the gem in my Gemfile,
although I don't have the version specified. I'll give that a try.

On Tue, Aug 5, 2014 at 8:38 AM, Matt [email protected] wrote:

I had this issue today, It turns out that I had forgotten to add the gem
to my Gemfile and had instead just done a gem inst


Reply to this email directly or view it on GitHub
#54 (comment).

from shotgun.

djanowski avatar djanowski commented on July 24, 2024

@safetymonkey Can you please let us know if this is still an issue? If so, can you provide a standalone repo (a gist?) so that we can reproduce? Thanks!

from shotgun.

safetymonkey avatar safetymonkey commented on July 24, 2024

Using the following gem versions I am no longer able to reproduce the issue. Thanks!

shotgun -- 0.9
sinatra -- 1.4.4
net-ldap -- 0.7.0

from shotgun.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.