Install Rails on macOS Catalina

Introduction

How to install Rails on macOS Catalina. Please refer to it when setting up in a local environment such as Rails tutorial.

Prerequisites

Installation procedure

  1. Install Command line tools from the terminal:  xcode-select --install
  2. Install Homebrew:  /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
  3. Install rbenv:  brew update  brew install rbenv  echo 'eval "$(rbenv init -)"' >> ~/.zshrc  source ~/.zshrc
  1. Install Ruby using rbenv:  rbenv install 2.7.0
  2. Set default Ruby:  rbenv global 2.7.0
  3. Install the required software:  brew install yarn
  4. Rails installation:  gem install rails -v 5.1.6

reference

Rails Girls Installation Recipe

Recommended Posts

Install Rails on macOS Catalina
Install imagick on macOS Catalina + php 7.4 Note
Install Sidekiq pro on Rails
[Ruby on Rails] yarn install --check-files
Install and configure jenv on macOS
If you can't install java on Catalina
Beginners write! Until you install postgreSQL on macOS catalina and make it available in rails 6.0.3.2
Tailwind on Rails
I can't install rails on my mac
Install Java 11 (OpenJDK: AdoptOpenJDK) on macOS with Homebrew
Install Ruby / Rails on Mac M1 Big Sur 2021-01
Install Java 14 (OpenJDK: AdoptOpenJDK) on macOS with Homebrew
Install Java 8 (OpenJDK: AdoptOpenJDK) on macOS with Homebrew
[Ruby on Rails] How to install Bootstrap in Rails
Introducing Eclipse IoT-Part2: Install Eclipse Neon.2 on macOS Sierra
Install gradle on mac
Install Corretto 8 on Windows
Launch Rails on EC2
Install Java on Mac
Install pyqt5 on ubuntu
Install Neo4j 4.1.3 on centOS
Install Docker on Manjaro
Install Vertica 10.0 on CentOS 6.10
Install Ruby on Ubuntu 20.04
Install PostgreSQL 12 on Centos8
Install nginx on centOS7
Install lombok on SpringToolSuite4
Deploy RAILS on EC2
Ruby on Rails basics
Install Python 3 on CentOS 7
Install kuromoji on CentOS7
Install Autoware on Ubuntu 18.04.5
Yay! I'm on Rails!
Install Mattermost on CentOS 7
Install PostGIS 2.5.5 on CentOS7
Install jpndistrict on CentOS 7
Install openjdk11 on mac
Ruby On Rails Association
Install Homebrew on Ubuntu 20.04
Install Redmine 4.1.1 on CentOS 7
Install OpenJDK 8 on mac
Smokeping Install on CentOS7
Install PostgreSQL 13 on CentOS 7.5
Install Java 8 (OpenJDK: Amazon Corretto) on macOS with Homebrew
Install Java 8 (OpenJDK: Zulu Community) on macOS with Homebrew
Install Ruby 3.0.0-preview1 on macOS (also without Homebrew ruby-build)
Java version control on macOS
Install Docker on Raspberry Pi
Resolve ActiveRecord :: NoDatabaseError on rails6
Install OpenJDK7 (JAVA) on ubuntu 14.04
Ruby on rails learning record -2020.10.03
From 0 to Ruby on Rails environment construction [macOS] (From Homebrew installation to Rails installation)
Install Cybozu Office 10 on Ubuntu 20.4
Install Docker on Ubuntu Server 20.04
Rails environment construction Rails5.2.1 ruby2.5.1 Catalina
Ruby on rails learning record -2020.10.04
[Ruby on Rails] Debug (binding.pry)
Ruby on rails learning record -2020.10.05
Ruby on rails learning record -2020.10.09
Ruby on Rails config configuration
Install rbenv on Amazon Linux