install rbenv

Shell
brew install rbenv ruby-build/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
Source

Also in Shell: