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:

1
rbenv install -l


to update the definitions for ruby-build

1
2
3
4
5
6
7
brew upgrade ruby-build
or
brew upgrade rbenv ruby-build
or ####manually
cd ~/.rbenv/plugins/ruby-build
git pull
and then install
1
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

1
gem install bundler

this will install bundler for your new ruby version

if you still have problems try upgrading brew:

1
brew update
No Comments

Post A Comment