r/programming • • Feb 24 '13

Ruby 2.0.0

http://www.ruby-lang.org/en/news/2013/02/24/ruby-2-0-0-p0-is-released/
600 Upvotes

193 comments sorted by

View all comments

1

u/[deleted] Feb 25 '13

I swear I consistently forget how to use RVM to get the latest ruby. Do you seriously have to enter in the version numbers by hand?

2

u/MagicalVagina Feb 26 '13

rvm list known will give you the list of the available ruby versions. Just do rvm install on one of these afterwards.

1

u/Kimos Feb 25 '13
$ rvm install ruby-2.0.0-p0
$ rvm use ruby-2.0.0-p0

You should be able to just say:

$ rvm install 2.0.0

But that defaults to Rubinius 2 for me. I guess that's an RVM bug?

1

u/sigzero Feb 25 '13

Not a bug I think. rvm is used to install more than just the Ruby version so they probably want to make things clearer by requiring names.

0

u/Paradox Feb 25 '13

It should have tab completion.

1

u/luikore Mar 01 '13

There are tab completions. Just look at

~/.rvm/src/rvm/scripts/completion

~/.rvm/src/rvm/scripts/zsh/Completion/_rvm