adric.net

Passenger
Login

aka mod_rails

Passenger (mod_rails) is tool for integrating Ruby (Rails, Rack, Merb, etc) web applications into a web server. It works well with Apache2.

upstream docs are at http://www.modrails.com/documentation/Users%20guide.html

Install

It's smooth with Debian Apache2. Go ahead and apt in apache2-dev and rails, and then you can: gem install rubygems_update update_rubygems passenger-install-apache2-module ### runs for a bit and then outputs the apache2 config lines, just ^Z and paste them into the appropriate files: cat > /etc/apache2/mods-available/passenger.load cat > /etc/apache2/mods-available/passenger.conf ### then you can fg and read the rest of it a2enmod passenger /etc/init.d/apache2 force-reload apache2ctl status ### fails but will show you an apache2 signature that shows Passenger is active

That customer and others specified RailsEnv development. You can add that to the VirtualHost in apache2 to override the default of production.