Deploy Ruby on Rails with Passenger
By Toni on November 26th, 2008 in Dreamhost
Although 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
Related posts:
- PHP on DreamHost PHP (Hypertext Preprocessor) is a common server-side scripting language. If...
- Preventing Hotlinking via the Web Panel Hotlinking occurs when a website directly accesses, rather than links...
- Easy Custom Error Pages at DreamHost Making a custom error page with DreamHost is easy. DreamHost...
- Email Upgrades at DreamHost DreamHost recently announced some upgrades to their email service: New!...
- Dreamhost Support is Wiki-riffic The wiki serves as DreamHost‘s web hosting manual, but also...
Tags: Dreamhost • Passenger • RoR • Ruby on Rails