I want to download the latest Ruby release(version 3.0.0), using RVM but I am faced with the following error when running rvm install 3.0.0
:
Unknown ruby interpreter version (do not know how to handle): 3.0.0
I have also tried 3
& 3.0
, but gives the same error.
According to this page, it should be available through RVM. I'm already using RVM to manage my ruby versions, so I don't want to use rbenv
... nor do I want to install from source.
How can I get Ruby version 3.0.0
installed using RVM?
If you have not updated rvm do that first RVM Upgrading
rvm get stable
# or
rvm get master # for even newer versions not in stable 3.0.0 in this case
To see all available rubies run
rvm list remote all
# or
rvm list known # as pointed out in the comments
you should see ruby-3.0.0
in the list of available rubies
Then run
rvm install ruby-3.0.0