When I cap deploy:start, It launches nothing. So I :
sd-17133:/var/rails/canardps3/current# mongrel_cluster_ctl start
Starting all mongrel_clusters…
/usr/local/bin/mongrel_cluster_ctl:7:in chdir': No such file or directory - /etc/mongrel_cluster (Errno::ENOENT) from /usr/local/bin/mongrel_cluster_ctl:7:inrun’
from /usr/local/bin/mongrel_cluster_ctl:55
guess it may be the problem. Any idea on what can I do to fix this ?
I have my config file for prod, qa, etc. under
./config/{environment}_mongrel.conf
The cluster can be started with -c ./path/to/config/file (which has
startup directory, ports, etc)…or you can create a directory in
/etc/mongrel_cluster that has symlinks to all your config files for
each environment.
On Tue, Dec 16, 2008 at 12:30 PM, Sylvain P. [email protected]
wrote:
from /usr/local/bin/mongrel_cluster_ctl:55
guess it may be the problem. Any idea on what can I do to fix this ?
clearly you are missing a configuration file on the server. /etc/
mongrel_cluster… you need to create a configuration file to start
your mongrel cluster. It first looks into your rails config directory
and then in /etc/mongrel_clusters.