Naive as I am, I fired up my terminal and gave it a spontaneous shot:
You will most probably encounter this issue when you have
rbenv lying around for quite a while already. So the investigation continued:
Where's Ruby 3 in rbenv? 🤔 🔎
rbenv install Ruby 3 on Ubuntu
The sad truth is that my brain was not willing to read the whole terminal output which already poses the solution:
And for the sake of completeness and inclusiveness:
rbenv install Ruby 3 on MacOS
If you installed
homebrew you'll need to do
brew upgrade which will also update your
rbenv so that latest stable versions of Ruby should appear in your rbenv.
If you are not using
homebrew I don't know what you are doing, and most probably you know what you are doing (but then, why are you here?).
$ cd /humus
$ mkdir juhu