...

/

Installing Rails on macOS

Installing Rails on macOS

Learn to install Rails on macOS

We'll cover the following...

Rails with macOS

Since macOS Catalina ships with Ruby 2.6.3, skip ahead to the gem install rails line below. If running a prior version of macOS, download a newer version of Ruby that works with Rails 6. The easiest way to do this is to use Homebrew.

Exploring utilities

Before starting, go to the Utilities folder and drag the Terminal application onto the dock. You’ll be using this during the installation and frequently as a Rails developer. Open the terminal and run the following command:

> ruby -e "$(curl -fsSL \ https://raw.githubusercontent.com/Homebrew/ins
...