Starting Mongrels = no such file to load -- initializer (load error)


#1

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:inrequire’
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:inrun’
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:ingem_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:innew’
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:inrun’
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


#2

Hi JMcG :

I also get this error , then i upgrade rails to 2.3.2 , it works.