ruby on railsAlthough you can still use FastCGI, DreamHost now recommends using Passenger to deploy and host Ruby on Rails applications on DreamHost servers.

Enabling Passenger:
To enable Passenger, edit any of your fully hosted domains or add a new domain from the Manage Domains area of the web panel. Check the “Ruby on Rails Passenger (mod_rails)?” option, and save.

Once Passenger has been enabled for your domain, set the web directory to the “public” directory of the RoR app.

Notes: Only enable this option if you are running a Ruby on Rails app as the main application for a specific domain or sub-domain.

In other words: you want to access your RoR application via myapp.mydomainatDH.com or mydomainatDH.com, not as: mydomainatDH.com/path-to-myapp.

For more info see: the wiki entry on Passenger

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • Live
  • Ma.gnolia
  • StumbleUpon

No Responses to “Deploy Ruby on Rails with Passenger”  

  1. No Comments

Leave a Reply



About DreamNut

DreamNut is an unofficial DreamHost blog with hints, tips and video tutorials.

Use DreamHost promo code MAXSAVINGS at Dreamhost to get up to $50 off DreamHost web hosting.


Archives

Social Bookmarking