How to install Rails on macOS Catalina. Please refer to it when setting up in a local environment such as Rails tutorial.
xcode-select --install
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
brew update
brew install rbenv
echo 'eval "$(rbenv init -)"' >> ~/.zshrc
source ~/.zshrc
rbenv install 2.7.0
rbenv global 2.7.0
brew install yarn
gem install rails -v 5.1.6
Rails Girls Installation Recipe
Recommended Posts