Atlantic.Net Blog

How to Install Ruby on Rails on Ubuntu 14.04 with RVM

Atlantic.Net NOC
by Atlantic.Net (68posts) under VPS Hosting
Ruby on Rails by Walker Cahall

Ruby on Rails by Walker Cahall 

Verified and tested 4/10/15


Installing Rails in Ubuntu has gotten much easier in recent days. The easiest way to do is via installing RVM (Ruby Version Manager).


An Ubuntu server. If you do not have one and would like to purchase one, you can visit our VPS Hosting page and spin a new server up in under 30 seconds.

Installing Rails on Ubuntu

To get started, copy and paste the following into your terminal:

gpg --keyserver hkp:// --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3

After this, run the following command to start installing rails:

curl -sSL | bash -s stable –-rails

After installing rails, you need to run the following command:

source /usr/local/rvm/scripts/rvm

In order to test if ruby and rails are installed, running the following commands should return the version number.

rails -v
ruby -v

After you verify that both ruby and rails are installed, you can start to create a new rails app.

To create a new rails app, type:

rails new app_named

This should create a skeleton rails app. Congratulations! You should now have rails installed on your ubuntu server.

Get A Free To Use Cloud VPS

Free Tier Includes:
G2.1GB Cloud VPS Free to Use for One Year
50 GB of Block Storage Free to Use for One Year
50 GB of Snapshots Free to Use for One Year

Looking for a Hosting Solution?

We Provide Cloud, Dedicated, & Colocation.

  • Seven Global Data Center Locations.
  • Flexible Private, Public, & Hybrid Hosting.
  • 24x7x365 Security, Support, & Monitoring.
Contact Us Now! Med Tech Award FTC
SOC Audit HIPAA Audit HITECH Audit

Recent Posts

Get started with 12 months of free cloud VPS hosting

Free Tier includes:
G2.1GB Cloud VPS Server Free to Use for One Year
50 GB of Block Storage Free to Use for One Year
50 GB of Snapshots Free to Use for One Year

New York, NY

100 Delawanna Ave, Suite 1

Clifton, NJ 07014

United States

San Francisco, CA

2820 Northwestern Pkwy,

Santa Clara, CA 95051

United States

Dallas, TX

2323 Bryan Street,

Dallas, Texas 75201

United States

Ashburn, VA

1807 Michael Faraday Ct,

Reston, VA 20190

United States

Orlando, FL

440 W Kennedy Blvd, Suite 3

Orlando, FL 32810

United States

Toronto, Canada

20 Pullman Ct, Scarborough,

Ontario M1X 1E4


London, UK

14 Liverpool Road, Slough,

Berkshire SL1 4QZ

United Kingdom