# install
brew install rbenv ruby-build
rbenv install 2.7.0
rbenv global 2.7.0
echo 'eval "$(rbenv init - zsh)"' >> ~/.zshrc
source ~/.zshrc
# Check location, should be in your home
which ruby
which gem
gem env home
gem install bundler
# install
brew install rbenv ruby-build
rbenv install 2.7.0
rbenv global 2.7.0
echo 'eval "$(rbenv init - zsh)"' >> ~/.zshrc
source ~/.zshrc
# Check location, should be in your home
which ruby
which gem
gem env home
gem install bundler