Ruby Installation

Install rbenv

  1. Click here to download the file for rbenv installation.
  2. From a terminal, execute the command below to give the install-rbenv.mac.sh script executable permissions
    • chmod u+x ~/Downloads/install-rbenv.mac.sh
  3. From a terminal, execute the command below to run the install-rbenv.mac.sh script
    • ~/Downloads/install-rbenv.mac.sh
  4. After the installation is complete, exit out of the terminal.

What is rbenv?

rbenv install 2.7.2
rbenv global 2.7.2