Michael Bannister
2007-Jun-01 19:12 UTC
[Mongrel] LoadError on ''initializer'' when starting Mongrel
Hi all... When I start Mongrel I get a LoadError. I use the command> sudo mongrel_rails cluster::start -C /path/to/mongrel_cluster.ymland it says> Starting 2 Mongrel servers...but in the log I see this error: ** Starting Rails with production environment... /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'': no such file to load -- /usr/local/www/weposs/current/config/../vendor/rails/railties/lib/initializer (LoadError) from /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `require'' from /usr/local/www/weposs/current/config/boot.rb:16 from /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'' from /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `require'' from /usr/local/www/weposs/current/config/environment.rb:11 from /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'' from /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `require'' from /var/lib/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/rails.rb:155:in `rails'' ... 8 levels... from /var/lib/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/command.rb:211:in `run'' from /var/lib/gems/1.8/gems/mongrel-1.0.1/bin/mongrel_rails:243 from /bin/mongrel_rails:18:in `load'' from /bin/mongrel_rails:18 Any help you can offer in fixing this would be so appreciated! Thanks in advance. -Mike
Wayne E. Seguin
2007-Jun-01 21:23 UTC
[Mongrel] LoadError on ''initializer'' when starting Mongrel
On Jun 01, 2007, at 15:12 , Michael Bannister wrote:> Hi all... > > When I start Mongrel I get a LoadError. I use the command > >> sudo mongrel_rails cluster::start -C /path/to/mongrel_cluster.yml > > and it says > >> Starting 2 Mongrel servers... > > but in the log I see this error: > > ** Starting Rails with production environment... > /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in > `gem_original_require'': no such file to load -- > /usr/local/www/weposs/current/config/../vendor/rails/railties/lib/ > initializer > (LoadError) > from /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in > `require'' > from /usr/local/www/weposs/current/config/boot.rb:16 > from /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in > `gem_original_require'' > from /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in > `require'' > from /usr/local/www/weposs/current/config/environment.rb:11 > from /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in > `gem_original_require'' > from /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in > `require'' > from /var/lib/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/ > rails.rb:155:in > `rails'' > ... 8 levels... > from /var/lib/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/ > command.rb:211:in > `run'' > from /var/lib/gems/1.8/gems/mongrel-1.0.1/bin/mongrel_rails: > 243 > from /bin/mongrel_rails:18:in `load'' > from /bin/mongrel_rails:18 > > Any help you can offer in fixing this would be so appreciated! Thanks > in advance. > > -Mike > _______________________________________________ > Mongrel-users mailing list > Mongrel-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/mongrel-usersIt appears that you are missing a required file, most likely a gem. Be sure that the system has all the correct gems installed for your application. Also for more information start mongrel_rails with the -B flag to enable debugging. then check the directory mongrel creates within log for more information, also check the mongrel logs themselves. -- Wayne E. Seguin Sr. Systems Architect & Systems Admin wayneseguin at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/mongrel-users/attachments/20070601/c3da5b26/attachment-0001.html
Reasonably Related Threads
- gem_original_require no such file to load -- /var/www/vhosts/gophotoswap.com/httpdocs/current/config/environment ( LoadError )
- mongrel on linux error - custom_require.rb:27:in `gem_original_require'': no such file to load -- (LoadErro
- mongrel_rails not starting
- mongrel_rails not starting
- Getting Started without Rails