Intro
Installing Ruby on Rails and MySQL on an apache virtual private server is the first step toward getting Ruby applications live and online. Three useful installers make the task of building this server easier than ever before.
Setup
This tutorial requires you to have a server up and running. Additionally, the rails ready script needs to be performed by a user with sudo privileges. If you don’t have a user like that on your server, you can check out how to do that in steps 3 and 4 of this tutorial.
Step One—Install Rails Ready
Once you are logged in on your virtual server with your user with root privileges, type in the command to install Rails Ready:
wget --no-check-certificate https://raw.github.com/joshfng/railsready/master/railsready.sh && bash railsready.sh
Rails Ready can be installed either from the source or with RVM, the Ruby Version Manager. I would recommend using RVM—it’s an easy installation and will later let you to switch between multiple versions of Ruby if needed.