I am trying to update my ruby gems on Debian 9.9, but every time I do attempt to, I get the following error.
Code: Select all
Updating installed gems
Updating did_you_mean
ERROR: Error installing did_you_mean:
There are no versions of did_you_mean (= 1.3.0) compatible with your Ruby & RubyGems
did_you_mean requires Ruby version >= 2.5.0. The current ruby version is 2.3.3.222.
Gems updated: did_you_mean
I have tried to install the latest ruby version by doing
sudo apt install ruby but the latest version (2.3.3) is already installed. I have tried to specify the version, but that didn't work either. is there any way at all that I can get the latest ruby version, without using version managers or 3rd party PPAs?