[Mongrel] "service mongrel_cluster start" startup fails
lists at ruby-forum.com
Thu Feb 19 18:49:03 EST 2009
Im having the same problem as Steve Meyer was and still hope to find out
what was wrong rather then writing a custom file as he ended up doing.
I very much appreciate any insight you can provide!
My rails application runs great, but it needs to be started manually. I
need it to restart when the machine restarts.
If I manually run
> /etc/init.d/mongrel_cluster status
Then everything runs great.
But if i run
> service mongrel_cluster status
Then I get the error:
/usr/bin/mongrel_cluster_ctl:9:in `require': no such file to load --
That line in mongrel_cluster_ctl is just:
What have I done to anger the gods??
Some details on my system - perhaps i installed something in wrong
I am new to linux - can someone help me with that line "require
What does 'require' mean in a shell script - i found no man page. What
should it actually find, a file? I have the directory
"/usr/local/rubygems" is that what it is looking for? Or should it find
an actual file called 'rubygems' somewhere?
By the way, in the /etc/init.d/mongrel_cluster I did expand the path
And that script then echos the path when run with service command as:
Thanks for reading!
Posted via http://www.ruby-forum.com/.
More information about the Mongrel-users