You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to be able to install ruby-head if I only have ruby 3 installed, but it looks for ruby 2, and tries to install truffleruby if it doesn't find it (which is not available on all platforms).
Steps to reproduce
Install rvm and get master, if it isn't installed.
If any MRI ruby 2 or 1.9 is installed, uninstall it so it doesn't get chosen.
rvm install ruby-head
Expected behavior
If you don't have any MRI ruby installed, it should install the latest MRI ruby release (3.0.2 at the time of writing), then attempt to install ruby-head. If you have a MRI ruby 3 installed, it should use it to attempt to install ruby-head.
Actual behavior
It doesn't use ruby 3 to install ruby-head. Instead, it tries to install the latest truffleruby (which fails on the platform I tested) rather than the latest ruby.
I don't have command logs because I did this on a platform where it would be awkward to retrieve them. However, I tracked down the cause and will be making a PR.
The text was updated successfully, but these errors were encountered:
* Adds ruby 3 as an allowed ruby to install ruby-head with.
* Be more specific about checking MRI rubies to exclude non-MRI rubies
with the MRI ruby prefix somewhere in the version string.
Fixesrvm#5112.
Description
I want to be able to install ruby-head if I only have ruby 3 installed, but it looks for ruby 2, and tries to install truffleruby if it doesn't find it (which is not available on all platforms).
Steps to reproduce
rvm install ruby-head
Expected behavior
If you don't have any MRI ruby installed, it should install the latest MRI ruby release (3.0.2 at the time of writing), then attempt to install ruby-head. If you have a MRI ruby 3 installed, it should use it to attempt to install ruby-head.
Actual behavior
It doesn't use ruby 3 to install ruby-head. Instead, it tries to install the latest truffleruby (which fails on the platform I tested) rather than the latest ruby.
I don't have command logs because I did this on a platform where it would be awkward to retrieve them. However, I tracked down the cause and will be making a PR.
The text was updated successfully, but these errors were encountered: