Apache2 + Passenger
by Artur on Dec.17, 2009, under All
Phusion Passenger™— a.k.a. mod_rails or mod_rack — makes deployment of Ruby web applications, such as those built on the revolutionary Ruby on Rails web framework, a breeze. It follows the usual Ruby on Rails conventions, such as “Don’t-Repeat-Yourself”.
Installation is fairly simple:
then:
If you see “OpenSSL support for Ruby… not found” error message you have to add OpenSSL to Ruby
ruby extconf.rb
make
make install
Install all other missing packages as required then add following lines to /etc/apache2/apache2.conf
PassengerRoot /usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.8
PassengerRuby /usr/local/bin/ruby
Restart Apache
Other installation methods can be found here