Homebrew tap for ruby-build Installing Ruby 2.4 – 3.0 brew install rbenv/tap/[email protected] rbenv install 3.0.7 -- --with-openssl-dir="$(brew --prefix [email protected])" Installing Ruby 2.3 or older on macOS brew install rbenv/tap/[email protected] rbenv install 2.3.8 -- --with-openssl-dir="$(brew --prefix [email protected])"