-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unknown ruby interpreter version (do not know how to handle): >=*. #4751
Comments
Related (at least for old RVMs): #3737 |
I don't mind if RVM run a Ruby script for version matching with whatever version of Ruby it could find. It could also complain if Ruby is not found, that this version matching requires any Ruby to be already installed on the system. |
I got the same problem when trying to install user@server:~$ rvm use ruby --install --default 3.0.0
Unknown ruby interpreter version (do not know how to handle): 3.0.0.
user@server:~$ rvm use ruby --install 3.0.0
Unknown ruby interpreter version (do not know how to handle): 3.0.0.
user@server:~$ rvm install 3.0.0
Warning, new version of rvm available '1.29.12', you are using older version '1.29.10'.
You can disable this warning with: echo rvm_autoupdate_flag=0 >> ~/.rvmrc
You can enable auto-update with: echo rvm_autoupdate_flag=2 >> ~/.rvmrc
You can update manually with: rvm get VERSION (e.g. 'rvm get stable')
Unknown ruby interpreter version (do not know how to handle): 3.0.0.
Already installed ruby-2.7.2.
To reinstall use:
rvm reinstall ruby-2.7.2
Unknown ruby interpreter version (do not know how to handle): 3.0.0. All I had to do was to run: rvm use ruby --install --default 3.0.0 |
The same as @alexventuraio |
I have the same issue in my case the shell is hanging after |
@MikePendo Can you paste any error or output you get? |
When trying to enter cocoapods directory
I have tried all the default, stable rvm options ... |
@MikePendo I'm not sure what |
@alexventuraio
make.log
|
@MikePendo I'm not sure what kind of program or language you are working with, doesn't look like a Rails app. But what I can see is that in your previous logs, you have a lot of |
@alexventuraio |
Not sure if it's recommended solution to fix this error or not but i was using ruby version in gem file like I know I have fix the version but anyone can suggest a better solution i would like to appreciate it |
@MikePendo I'm not quite sure but I think all these errors are because Ruby 2.0.0 requires OpenSSL v1 to be installed with RVM and it is not installed in your system. |
If it is a |
I managed to resolve this by updating to latest rvm (was on 1.27.*) updated to 1.29.12 |
Hi, hello, I encountered this problem in the latest react-native version, how can I solve it? I passed rvm install 2.7.6 and ruby --version is 2.7.6, when the terminal still displays "Unknown ruby interpreter version (do not know how to handle): >=2.6.10." this paragraph |
Description
I think this is more a feature request then a bug.
If RVM sees the
ruby
version constraint inside aGemfile
, it expects a fix version ("equals"
). But there are many more possibilities - same like forgem
.Steps to reproduce
ruby '>=2.5'
into aGemfile
:ruby-2.6.3
, but notruby-2.5.x
Expected behavior
Since the Gemfile requests
ruby '>=2.5'
andruby-2.6.3
is available, it should pick that version.Actual behavior
Seems like RVM tries to load ruby with the version
>=2.5
.Environment info
The text was updated successfully, but these errors were encountered: