Ruby

How to update your rbenv version with git

This minipost will demonstrate how to update rbenv version when you have installed it through git to your system. To be more specific, we will update rbenv from version 1.1.0 to version 1.1.1 via git pull.

If you are looking to update your ruby version, have a look at how to update your rbenv ruby version

Initially, check your current version of rbenv already installed, by:

$ rbenv -v
rbenv 1.1.0-47-g59785f6

Navigate to rbenv releases page to check the latest release. The latest release, at this point of time, is rbenv 1.1.1. To update rbenv with git, type:

$ cd ~/.rbenv && git pull

You have successfully installed the latest version of rbenv, to verify this:

$ rbenv -v
rbenv 1.1.1-39-g59785f6

Additional information:

Buy Me A Coffee

Read also the following