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 OpenJDK on macOS
Install imagick on macOS Catalina + php 7.4 Note
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 Java 8 (OpenJDK: AdoptOpenJDK) on macOS with Homebrew
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 Golang on CentOS 8
Install pyqt5 on ubuntu
Install Neo4j 4.1.3 on centOS
Install Docker on Manjaro
Install Vertica 10.0 on CentOS 6.10
Mac Rails Install Error
Install PostgreSQL 12 on Centos8
Install lombok on SpringToolSuite4
Deploy RAILS on EC2
Ruby on Rails Elementary
Ruby on Rails basics
Install Python 3 on CentOS 7
Install kuromoji on CentOS7
Yay! I'm on Rails!
Install PostGIS 2.5.5 on CentOS7
Install jpndistrict on CentOS 7
Install openjdk11 on mac
Ruby On Rails Association
Install Redmine 4.1.1 on CentOS 7
Install OpenJDK 8 on mac
Smokeping Install on CentOS7
Install PostgreSQL 13 on CentOS 7.5
[Ruby] I can't install puma on Mac [Rails, etc.]
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 Docker on Windows 10 PRO
Install OpenJDK7 (JAVA) on ubuntu 14.04
Ruby on rails learning record -2020.10.03
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
Install rbenv on Amazon Linux
Install zabbix agent (5.0) on Ubuntu 18.04
Run lilypond on Docker on macOS Catalina to create sheet music
Install MAV Proxy on Ubuntu 18.04
Install tomcat on Sakura's VPS
Install OpenFOAM v2006 on CentOS
Ruby on rails learning record-2020.10.07 ②
Install Java on WSL Ubuntu 18.04
Install Jenkins on Docker's CentOS
Install Ubuntu Desktop 20.10 on RaspberryPi4