Recent Posts

Site Creator

By

By

By

ROR on macOS 10.12 Sierra

Posted on

Dear Friends

A simple tutorial that can be used to install Ruby on Rails Framework on Mac Sierra.

So we are going to follow below steps

  1. Installing Homebrew
  2. Installing Ruby
  3. Installing Rails
  4. Installing sqlite3 [ default ]

Installing Homebrew

Homebrew is a required tool . It allow us to install and compile source packages from source. It comes with a very simple install script. It might ask to  install XCode CommandLine Tools, if your mac is not having them.

Write in terminal

So now your Homebrew is installed now we proceed with other steps.

Installing Ruby

2.4.0 (Recommended)

 

Installing ROR [ Ruby on Rails] framework

Recommended 5.0.1

write below command in your terminal

Rails is now installed. To use rails within your mac you need to reintiallize it.

rbenv rehash

 

Please check if rails is installed in system.

rails -v

 

Setting up a database 

sqlite3 is default db.

 

Thanks for reading.

 

With due respect to used Reference

 







Disclaimer: The aforesaid writeup by Relsell Global writer is for the general understanding of the readers. It does not render any professional advice or opinion.

SHARE THIS PAGE!