Ryo
2011-Mar-20 15:19 UTC
"no such file to load -- dispatcher (LoadError)" on starting mongrel process
After I updated to Rails 3.0, I encountered the following error on booting mongrel process. Can anyone advise? Thank you. ** Starting Mongrel listening at 0.0.0.0:3000 ** Starting Rails with development environment... /Library/Ruby/Gems/1.8/gems/activesupport-3.0.4/lib/active_support/ dependencies.rb:239:in `require'': no such file to load -- dispatcher (LoadError) from /Library/Ruby/Gems/1.8/gems/activesupport-3.0.4/lib/ active_support/dependencies.rb:239:in `require'' from /Library/Ruby/Gems/1.8/gems/activesupport-3.0.4/lib/ active_support/dependencies.rb:225:in `load_dependency'' from /Library/Ruby/Gems/1.8/gems/activesupport-3.0.4/lib/ active_support/dependencies.rb:596:in `new_constants_in'' from /Library/Ruby/Gems/1.8/gems/activesupport-3.0.4/lib/ active_support/dependencies.rb:225:in `load_dependency'' from /Library/Ruby/Gems/1.8/gems/activesupport-3.0.4/lib/ active_support/dependencies.rb:239:in `require'' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:148:in `rails'' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:113:in `cloaker_'' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/configurator.rb: 149:in `call'' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/configurator.rb: 149:in `listener'' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:99:in `cloaker_'' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/configurator.rb: 50:in `call'' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/configurator.rb: 50:in `initialize'' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:84:in `new'' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:84:in `run'' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/command.rb:212:in `run'' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:281 from /usr/bin/mongrel_rails:19:in `load'' from /usr/bin/mongrel_rails:19 -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Sebastian Gräßl
2011-Mar-20 20:54 UTC
Re: "no such file to load -- dispatcher (LoadError)" on starting mongrel process
Hej Ryo, have you added mongrel to your gems? If not simply add "gem mongrel" to your Gemfile. "rails server" will then automatically use mongrel. Best, Sebastian -------------------------- Sebastian Gräßl sebastian-30c1IgTnpsdP52+qxqhqIQ@public.gmane.org http://validcode.me -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Ryo
2011-Mar-21 13:31 UTC
Re: "no such file to load -- dispatcher (LoadError)" on starting mongrel process
Hi Sebastian, Thank you very much for your advice. Your advice worked well! Thanks, Ryo On Mar 21, 4:54 am, Sebastian Gräßl <sebast...-30c1IgTnpsdP52+qxqhqIQ@public.gmane.org> wrote:> Hej Ryo, > > have you added mongrel to your gems? > If not simply add "gem mongrel" to your Gemfile. > "rails server" will then automatically use mongrel. > > Best, > Sebastian > > -------------------------- > Sebastian Gräßl > sebast...-30c1IgTnpsfwk2tF5GeW7Q@public.gmane.org://validcode.me-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Possibly Parallel Threads
- Localhost:3000 using IE on parallels
- gem_original_require no such file to load -- /var/www/vhosts/gophotoswap.com/httpdocs/current/config/environment ( LoadError )
- newbie: OSX Ruby/MySQL issue?
- Ruby on Rails Workshop in Graz, Austria
- Fwd: Re: problem with ovirt-mongrel-rails on rails 2.3