CentOS RVM error: Unknown ruby ​​string (not sure how to handle): ruby-2.1.0

I am installing rails application on CentOS server.

We have installed rvm and ruby-2.1.0.

From my app directory when I try to create a gemset or use a gemset etc. I keep getting the following message:

Unknown ruby ​​string (not sure how to handle): ruby-2.1.0.

If I do rvm -list

I get this:

rvm rubies

    =* ruby-2.1.0 [ x86_64 ]
       ruby-2.1.5 [ x86_64 ]
       ruby-2.2.0 [ x86_64 ]

      

Not sure why I keep getting errors about Unnown ruby. Btw, the application Gemfile has the following line (in Heroku's favor, I think):

ruby '2.1.0'

      

+3


source to share


1 answer


I just stumbled across the same issue and filed it at https://github.com/wayneeseguin/rvm/issues/3244 .

This appears to be a bug in rvm 1.26.7, and as a workaround, you can upgrade to 1.26.6 by running:



\curl -sSL https://get.rvm.io | bash -s -- --version 1.26.6
rvm reload

      

Edit: RVM 1.26.8 was released and fixed this issue, now works rvm get stable

.

+3


source







All Articles