How to Install Ruby on Rails on Ubuntu 14.04 with RVM

Atlantic.Net NOC
by Atlantic.Net (68posts) under Cloud Hosting
0 Comments
Ruby on Rails by Walker Cahall http://www.waltronic.net/

Ruby on Rails by Walker Cahall 

Verified and tested 4/10/15

Introduction

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

Prerequisites

An Ubuntu server. If you do not have one and would like to purchase one, you can visit our Cloud 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://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3

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

curl -sSL https://get.rvm.io | 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.


Related Posts


New York, NY

100 Delawanna Ave, Suite 1

Clifton, NJ 07014

United States

Dallas, TX

2323 Bryan Street,

Dallas, Texas 75201

United States

San Francisco, CA

2820 Northwestern Pkwy,

Santa Clara, CA 95051

United States

Orlando, FL

440 W Kennedy Blvd, Suite 3

Orlando, FL 32810

United States

London, UK

14 Liverpool Road, Slough,

Berkshire SL1 4QZ

United Kingdom

Toronto, Canada

20 Pullman Ct, Scarborough,

Ontario M1X 1E4

Canada

Resources

We use cookies for advertising, social media and analytics purposes. Read about how we use cookies in our updated Privacy Policy. If you continue to use this site, you consent to our use of cookies and our Privacy Policy.