Install Latest Stable Version of Ruby Using rbenv

后端 未结 6 919
星月不相逢
星月不相逢 2020-12-24 02:07

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

6条回答
  •  温柔的废话
    2020-12-24 02:50

    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
    • and then you could use one of the above approaches suggested above to install automatically the latest version or simply rbenv install

    working in macOS 10.13.6

提交回复
热议问题