debian lenny
setup mongrel clusters and apache proxy serving via virtual host debian lenny
Submitted by Sam Rose on Wed, 10/07/2009 - 23:51Assuming you have already installed Rails/Ruby
sudo gem install mongrel
sudo gem install mongrel_cluster
Then run
mongrel_rails cluster::configure -e production -p 3000 -N 2 -c /home/yourdir/yourapp -a 127.0.0.1
"production" assumes you have configured your app for production. Otherwise run "development"
You may need to open ports in iptables.
Output should be:
Writing configuration file to config/mongrel_cluster.yml.
To start mongrel cluster, cd to the rails app, then:
