Rails 3 Deployment
I recently deployed a Rails 3 application to a Linode VPS (they’re awesome BTW). I chose Ubuntu 10.04 for my linux distro and 1.9.2 for my version of Ruby. I installed Ruby from source instead of using RVM. RVM was my first choice, but I couldn’t get Passenger working with RVM. I don’t know if it was RVM or passenger but instead of wasting a ton of time, I just started over from scratch. As for the rest of the stack, I used Nginx with Thin and Mongodb for the database.
In the process, I accumulated a few useful links. Most of which are generally applicable and certainly worth sharing. So even though I wasn’t able to find the one article that solved all my problems, I found more than enough helpful advice.
- Setting up Rails 3 on Rackspace Cloud Servers
- Setting Up Ubuntu Server for Ruby on Rails Deployment
- Deploy Rails application via Git and Capistrano
- Installing a monitored Mongodb, Ruby 1.9, Nginx stack with Passenger on Ubuntu Linux
- Get intimate with your load balancer tonight!
- Capistrano series - configuring Capistrano #1