Installing Ruby on Rails (RoR) on Linux
Getting RoR up and running means working with a few moving parts. That said, with a little bit of tweaking of various config files and making sure that Ruby, Rails and various other subparts are all up and running, this is totally doable. If you're familiar with the various package managers (e.g. yum, apt) and comfortable updating config files, it's pretty straightforward.
|DIFFICULTY||Basic - 1 | Medium - 2 | Advanced - 3|
|TIME REQUIRED||30 min|
|RELATED PRODUCTS||Linux-based VPS or dedicated servers|
Install Ruby Version Manager (RVM)
Start Ruby Version Manager (RVM)
Test for successful RVM install.
Open terminal and execute the following:
You should see the following result:
Install additional dependencies.
Select the version.
Ensure the current Ruby version is installed
Test your installation with a sample application using Ruby on Rails
Add the following two lines at the end:
Save and close the Gemfile.
Install everything and start the Rails server
Things should now be running.
Check to make sure everything is working
Go to http://your_domain_or_IP_address:3000
You should see a page that indicates that
my_test_app is running.