Installing Rails on macOS
Explore the step-by-step process to install Rails 6 and the required Ruby version on macOS. Understand setup options using Homebrew and rbenv, update your Ruby environment, and install necessary tools like Yarn and ChromeDriver to prepare your system for Agile web development with Rails.
We'll cover the following...
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/in ...