Forum: Ruby on Rails Mongrel: Config File Q

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Ef0db53920b243d6758c2f6b1306df0d?d=identicon&s=25 Steve Ross (cwd)
on 2006-05-03 18:57
(Received via mailing list)
I'd like to be able to type mongrel_rails start and have mongrel read a
file like lighttpd does. I'm pretty sure this can be done but the
documentation refers to a camping interface and I just don't see it.

Can someone point me in the right direction?

View this message in context:
Sent from the RubyOnRails Users forum at
4d3c4ad293c983f47f3eab02796eafc7?d=identicon&s=25 unknown (Guest)
on 2006-05-03 18:58
(Received via mailing list)
1) To use a config file, "mongrel_rails start -h" gives us the solution

-C, --config PATH Use a config file

2) The camping interface is given with the mongrel_config plugin.
To get the plugin :
"gem install mongrel_config"

Once the plugin is installed, mongrel_rails command has another option =
configtool :
"mongrel_rails configtool" launches a web application on

8c43ed7f065406bf171c0f3eb32cf615?d=identicon&s=25 Zed Shaw (Guest)
on 2006-05-03 18:59
(Received via mailing list)

Someone mentioned it, but the option you want is -C to give it a config
file.  The config file is currently not well documented (which I'm
fixing up
as we speak), but basically it takes each of the long command line
as hash items to a YAML file.

If you are serious about doing a configuration based deployment, you are
probably also serious about managing a cluster of mongrel servers.   If
is the case, then check out the mongrel_cluster gem from Bradley Taylor
and  It basically handles the config files, starts,
etc. for a cluster of mongrel processes.

You can get this by doing gem install mongrel_cluster.  There was a post
recently about it, but I'm going to also have docs on it "real soon

There is an additional option for the mongrel hackers out there -S which
lets you use a "mongrel script".  This is for advanced folks only
It basically let's you use the Configurator to add your own spiffy
and such.

Hope that helps.

Zed A. Shaw
This topic is locked and can not be replied to.