There are many ways to install and configure Ruby in your development environment. If you don't have a working Ruby dev environment, this is our recommended setup for MacOS:
- Install homebrew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
- Install rbenv
brew install rbenv
- Install ruby 2.5.5
rbenv install 2.5.5
- Make it the default
rbenv global 2.5.5