"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:inrequire’
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:innew_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:inrequire’
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:incloaker_’
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:inlistener’
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:incall’
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:innew’
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:inrun’
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

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

Hi Sebastian,

Thank you very much for your advice.
Your advice worked well!

Thanks,
Ryo

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs