Ruby on Rails on Dreamhost
I’ve been playing with Ruby on Rails these past few days. Dreamhost, my webhost, announced on June 16 2005 they now offered Ruby on Rails.
Ruby on Rails are now pre-installed on all servers. I decided to create a subdomain for my Ruby on rails playground. This is how I enable Ruby on Rails support on Dreamhost.
First, login to your Dreamhost web admin panel. Under the domain sub-menu, choose Add domain.
You should choose the fully hosted domain option and enable FastCGI support.
IMPORTANT: Remember to set your Web directory to: /home/username/subdomain.example.com/public
Once everything is setup, you can ssh into the web server and then type rails subdomain.example.com to create your new rail application.
The directory structure is now created for you, you need to set the public folder permission to 755.
Have fun playing wtih Ruby on Rails.