I want to install the latest stable version of Ruby available with rbenv. This feature won\'t be happening in rbenv itself.
When I run the command rbenv instal
One should first update the ruby-build to get the latest version of ruby while install using rbenv.. Follow the below steps:
brew reinstall --HEAD ruby-build
(
if rbenv is already installed brew may through some error then to move ahead and simply
brew unlink ruby-build
and brew install --HEAD ruby-build
)brew upgrade
rbenv install