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?
Ruby Gems for all installed ruby interpreters and versions are stored completely separate. Gems are located in ~/. rvm/gems/$ruby_string.
this way now you can switch between this two rails installations with: rvm use 2.0.0@rails3 rails -v # rails 3.2... rvm use 2.0.0@rails4 rails -v # rails 4.0... Show activity on this post.
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
In many parts of the world, the current time is holiday time. RVM is maintained by unpaid volunteers in their spare time, who might choose to spend time with their families.
Therefore, it might take a while for a new release of RVM to come out.
Also, there are a couple of bugs related to YARV 3.0.0 not working on the RVM bug tracker, obviously those will need to be fixed before a new release of RVM that supports YARV 3.0.0 can be released.
According to the RVM offline installation docs, the required extension to install any Ruby version is .tar.bz2
.
Taking a look at the Ruby's 3 FTP folder, the .tar.bz2
is available only for the preview1
release. Neither the rc1
nor the official has that extension available yet.
I think we gotta wait for some maintainer to update the FTP folder with that extension.
First you need to upgrade the RVM. Then try to install the needed version again ->
rvm get master && rvm install 3.0.0
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With