I have installed mongrel and mongrel cluster in a new linux box … at
the end of the day I was able to lunch mongrel (mongrel_rails start -e
production) and all is working fine with.
However, when I tried to set a mongrel cluster the command mongrel_rails
cluster::start get the following output :
starting port 8000
starting port 8001
starting port 8002
But when I lunched the browser to the application url and port 8000 for
example, the mongrels seems not working.
I looked at the log file and get for the first mongrel instance :
** Daemonized, any open files are closed. Look at tmp/mongrel.8000.pid
and log/mongrel.8000.log for info.
** Starting Mongrel listening at 0.0.0.0:8000
** Changing group to mongrel.
** Changing user to mongrel.
** Starting Rails with production environment…
** Mounting Rails at /home/rails/projects/myapps…
gem_original_require': no such file to load -- /home/rails/projects/jokes/config/environment (LoadError) from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:30:inrequire’
rails' from /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/bin/mongrel_rails:116:incloaker_’
call' from /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/configurator.rb:138:inlistener’
cloaker_' from /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/configurator.rb:51:incall’
initialize' from /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/bin/mongrel_rails:83:innew’
run' from /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/command.rb:211:inrun’
from /usr/bin/mongrel_rails:16:in `load’
It’s the same thing for the two other instances.
My mongrel cluster configuration is as follows :
Can anyone give help me to get out of this ?
Thanks a lot in adavance