Update ruby version for rbenv and ruby-build for mac

Update ruby version for rbenv and ruby-build for mac

If you want to see what version you have available for installation:

rbenv install -l


to update the definitions for ruby-build

brew upgrade ruby-build
or
brew upgrade rbenv ruby-build
or ####manually
cd ~/.rbenv/plugins/ruby-build
git pull
and then install
rbenv install select-your-version

if you receive and error like:

command not found when run bundle or rails or some command
try to install then the bundler before run any command

gem install bundler

this will install bundler for your new ruby version

if you still have problems try upgrading brew:

brew update
No Comments

Post A Comment