Here’s a summary of where I found my how-tos when set up my VPS to host my sites: ShippingTogether, and my own site. My web host is Slicehost. It’s cheap and good. I’d definitely give my recommendation for them if you want a VPS.
If you’re wondering whether to choose between a my VPS or shared hosting, here’s why I chose VPS in the end: the many deployment options available. In most shared hosting plans, you’ll be limited to just 1 mongrel instance. Whereas for VPS, you’re free to configure your rails app in any way you deem best.
Ruby Gem Error
Could not find rubygems-update (> 0) in any repository
If you see this error, fret not, there’s a solution for it
Here’s what I found out. You need to run these 2 commands in succession for gems to work.
gem update --system
gem update
No idea why. If you run only one of them, the system will keep showing the same errors. You should be able to use gem to install rails after running the 2 commands.
Below are 2 gems that always give problems. The solutions are below.
NginX Caveat
I compiled my NginX from source. For those who chose the same method, note that you will need to install a few extra libraries for NginX as well.
libpcre3
libpcre3-dev
