iNet Robots Ltd. & Co. KG > Support > Frequently asked > How do I activate mod_passenger for my Rails application?

How do I activate mod_passenger for my Rails application?

The following steps are required to deploy a Ruby on Rails application using mod_passenger:

1. Create a subdomain in the control panel under Website administration -> Domain administration and route it to the HTML directory of the Rails application (typically the folder "public").

2. In the control panel, switch to Server -> Apache configuration -> For one domain and create the following entry for the new subdomain:

LoadModule passenger_module /usr/lib/ruby/gems/1.8/gems/passenger-2.2.11/ext/apache2/mod_passenger.so
PassengerRoot /usr/lib/ruby/gems/1.8/gems/passenger-2.2.11
PassengerRuby /usr/bin/ruby1.8

Last update on 21/04/2010 by Leo Feyer.

Go back

Add a comment