I’ve used rbenv to update my Ruby dependencies in the past, usually without a problem. But, while trying to update to the Ruby’s 2.2.3 version, I ran across this error:
After double checking that the current stable version is in fact 2.2.3, I looked into ways to update manually. The solution to this is in the ruby-build, a rbenv plugin that provides an install command to compile and install different versions of Ruby on UNIX-like systems. Additionally, I use a package manager, Homebrew, and the following commands worked for me.
I then entered the following, which gave me a warning:
So I tried to update through git, which worked:
I’m now up and running on the current stable version.