Question

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

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!


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

@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.

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!

We have an article on installing nginx/passenger on Ubuntu: https://www.digitalocean.com/community/articles/how-to-install-rails-and-nginx-with-passenger-on-ubuntu <br> <br>If you want to use CentOS, you can follow the RVM part of the following article to properly install RVM: <br>https://www.digitalocean.com/community/articles/how-to-install-ruby-on-rails-on-centos-6-with-rvm