Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Installing Ruby 2.0.0 using RVM

Tags:

ruby

I have tried installing Ruby 2.0.0 using RVM:

  rvm install 2.0.0 

Once installation is done. I did rvm list. It shown like below:

rvm rubies     jruby-1.6.5.1 [ i386 ]    /home/username/.rvm/scripts/list: line 294: /home/username/.rvm/rubies/rbx-2.0.0/config: No such file or directory rbx-2.0.0 [  ] =* ree-1.8.7-2011.12 [ i686 ]    ruby-1.9.3-p0 [ i686 ]  # => - current # =* - current && default #  * - default 

Why did it install Rubinius 2.0-rc1 ?? did anyone face this issue?? Any help??

Thanks :)

like image 696
Rahul Tapali Avatar asked Feb 27 '13 09:02

Rahul Tapali


People also ask

Is RVM deprecated?

∞RVM PackagesThis functionality has been deprecated by autolibs which is now enabled by default, however if you still need it - it is there.


1 Answers

Your rvm is probably not up to date, and by doing so the list of installable rubies also. Rvm probably took the best match, that was Rubinius 2

When you do

rvm list known 

You obtain the list of known rubies that you can install

This list is updated at the same time you update rvm. Then you need to update rvm before installing MRI Ruby 2.0.0

rvm get stable 
like image 162
toch Avatar answered Sep 19 '22 02:09

toch