Is there a good, up-to-date production guide to installing RVM, Passenger and nginx on CentOS?

June 18, 2013 2.5k views
I've been trying unsuccessfully to get rvm and passenger to work on CentOS 6.4. Are there any good guides for setting it up in a production environment? The Passenger tutorials don't seem to work and rvm doesn't seem to even install properly. Thanks!
3 Answers
We have an article on installing nginx/passenger on Ubuntu:

If you want to use CentOS, you can follow the RVM part of the following article to properly install RVM:
by Etel Sverdlov
This tutorial explains how to install Ruby, how to install any required dependancies, how to install Ruby Gems, how to install Rails, how to install Phusion Passenger, and how to use Passenger to install nginx. Passenger is an app server that allows you to deploy your rails application in production. This tutorial describes how to run Rails with nginx using passenger.
I had been trying to follow a few of those to no luck. I finally found out the issue: the nginx installer module requires more than 512mb of RAM to operate. I upgraded to the next level (1GB) and now it's working perfectly. Thanks for the help!
@conner.fritz - glad you got it to work :] You might have a lot of processes on your droplet so there wasn't enough RAM for the installer module.
Have another answer? Share your knowledge.