Switched to Mongrel

I just finished switching this blog over from lighttpd + fcgi to apache2.2 + mod-proxy-balancer + mongrel.
It was a piece of cake using the following resources:

The only problem I ran into was setting up mongrel_cluster to start on reboot.

I had added mongrel_cluster to the init scripts…

$ update-rc.d mongrel_cluster defaults

… but the cluster did not start-up on reboot.

I finally used Rimu’s console-over-ssh feature to check the boot output and noticed the following:

command not found: mongrel_cluster_ctl

Oops… /usr/local/bin is not in the boot path! I simply symlinked the following:

$ ln -s /usr/local/bin/mongrel_cluster_ctl /usr/bin/
$ ln -s /usr/local/bin/mongrel_rails /usr/bin/
$ ln -s /usr/local/bin/ruby /usr/bin/

and the mongrels startup like a charm!

Comment or question via
FYI: This post was migrated over from another blogging engine. If you encounter any issues please let me know on . Thanks.