rbenv install ruby code example
Example 1: brew install ruby
brew install ruby
Example 2: install rbenv
brew install rbenv ruby-build
Example 3: install ruby mac
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"