Forum: Ruby on Rails Starting Mongrels = no such file to load -- initializer (load error)

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
43d44f25a6ace1c8cffd9d1ffbaea075?d=identicon&s=25 JMcG (Guest)
on 2009-03-27 16:54
(Received via mailing list)
I've searched high and low and cannot find a solution to this problem.
Any help would be appreciated.

My problem is when starting my mongrels with this command:
      mongrel_rails start -d -p 3000 -P log/mongrel1.pid

I get this error in my mongrel_rails_persist.log:

** Starting Mongrel listening at 0.0.0.0:3000
** Starting Rails with production environment...
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/
1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such
file to load -- initializer (LoadError)
  from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
ruby/1.8/rubygems/custom_require.rb:31:in `require'
  from /Library/WebServer/bf-deals/releases/20090323161724/config/
boot.rb:54:in `load_initializer'
  from /Library/WebServer/bf-deals/releases/20090323161724/config/
boot.rb:39:in `run'
  from /Library/WebServer/bf-deals/releases/20090323161724/config/
boot.rb:11:in `boot!'
  from /Library/WebServer/bf-deals/releases/20090323161724/config/
boot.rb:109
  from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
  from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
ruby/1.8/rubygems/custom_require.rb:31:in `require'
  from /Library/WebServer/bf-deals/releases/20090323161724/config/
environment.rb:13
   ... 9 levels...
  from /usr/bin/mongrel_rails_server:87:in `new'
  from /usr/bin/mongrel_rails_server:87:in `run'
  from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/command.rb:212:in `run'
  from /usr/bin/mongrel_rails_server:256


I should mention that if I do a script/server from my project
directory the mongrel starts up fine... what gives?

Thanks
E444bb8c52adf1eab7da396d7271b4a5?d=identicon&s=25 Xiaoming Wang (shetty)
on 2009-06-28 12:42
Hi JMcG :

I also get this error , then i upgrade rails to 2.3.2 , it works.
This topic is locked and can not be replied to.