Installing Ruby on Rails


Step 1

First, install Ruby using RVM. In your terminal type:

rvm install 2.4

Note: You might wanna grab a refill on that cup of coffee, this one's gonna take a while.

Step 2

In your Terminal type:

rvm use 2.4
rvm --default use 2.4
Step 3

Now we'll make sure Ruby installed successfully. In your Terminal type:

ruby -v

If installed correctly, you should see:

ruby 2.4.0p0 (2014-12-25 revision 49005) [x86_64-darwin13]

Note: Anything after 2.4 may differ.

Step 4

Now we'll install Rails. In your Terminal type:

gem install rails
Step 5

Let's make sure Rails installed successfully. In your Terminal type:

rails -v

If installed correctly, you should see:

Rails 5.1.x