So, I’ve been able to deploy a single app just fine. But in my
attempts to run multiple rails apps within the same domain, I made a
change by adding
prefix: /app1
to my mongrel_cluster.yml file.
Using Capistrano, I ran cap:restart to restart my mongrel processes,
but I saw no reference to prefix in the mongrel start command in
mongrel.log:
** USR2 signal received.
** Restarting with arguments: ruby /usr/lib/ruby/gems/1.8/gems/
mongrel-1.1.1/bin/mongrel_rails start -d -a 0.0.0.0 -p 8000 -P /srv/
www/htdocs/app1/releases/20080111175042/tmp/pids/dispatch.8000.pid -e
production -c /srv/www/htdocs/app1/releases/20080111175042 -l /srv/www/
htdocs/app1/releases/20080111175042/log/mongrel.log
It seems any change to my mongrel_cluster.yml is not being picked up.
To further test this, I altered the yml file to send its log file to
mongrel_test.log instead of mongrel.log. And still, it’s using
mongrel.log.
It seems any change to my mongrel_cluster.yml is not being picked up.
To further test this, I altered the yml file to send its log file to
mongrel_test.log instead of mongrel.log. And still, it’s using
What version of mongrel_cluster are you running?
You’ve checked in your mongrel_cluster.yml file, and
Just for the record, looks like what happened is that in spite of my
assigning :mongrel_conf, nothing I did to my mongrel_cluster.yml would
change its settings.
Reason was because of what I had in my script/spin file:
/path/current/script/process/spawner -p 8000 -i 2
From what I understand, it should have instead used something like
this: