So I know I’m way way behind the times here but I just heard about passenger today from a co-worker. I haven’t really done much Rails for the last year and so I’ve been really out of the loop. Then my friend tells me about passenger. It’s an Apache2 module that allows you to deploy rails site like php sites, by simply adding vhosts. All you have to do is install the passenger gem, then run one passenger command which installs the module in apache as well as gives you the appropriate config lines to put in your httpd.conf file. Then you’re ready to go, just make vhosts to the public directories of you rails sites. I tried it on my mac this morning and within 2 minutes I was up and running. I can’t believe how many hours I spent trying to setup fast_cgi, mongrel and other options through apache. I finally did get a mongrel cluster running once but it’s such a pain. This makes it all so incredibly easy.
Passenger for Rails, wow, really, wow!
Advertisement