Update rbenv's ruby-build List

Written on October 20, 2014

On my machine, I use rbenv to manage my Ruby environment. Occasionally, the required Ruby version for a project that I’m working on will be higher than what I have set up on my machine.

This results in having to upgrade my Ruby version. In order to do this, rbenv — specifically rbenv’s ruby-build plugin — will have to have the list of the latest Ruby versions before being able to download and set that up on your machine.

To update ruby-build simply cd into the folder with cd ~/.rbenv/plugins/ruby-build and pull the latest version by running git pull.

Once the pull request is complete, you should be able to run rbenv install -l and see a list of the latest Ruby versions available for you to install.

Stay in touch

Thanks for reading this article. I'd love to stay in touch and share more tips on programming and side projects with you. Sign up and I'll send you my articles straight to your email, you'll also get a free copy of the light themed version of my Git cheat sheet.
Git cheat sheet preview image