Hey, the first Ruby 2.0 release candidate has been released! These days, I've been using rbenv to manage my Ruby installations, but I don't see rc1 in ruby-build yet. No matter, it's easy to add it to rbenv without ruby-build. First, fetch the source code and untar it.
$ wget http://ftp.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-rc1.tar.bz2 $ md5sum ruby-2.0.0-rc1.tar.bz2 24cebdda11e01ff4889ac983cd7dc02c ruby-2.0.0-rc1.tar.bz2 $ tar xf ruby-2.0.0-rc1.tar.bz2 $ cd ruby-2.0.0-rc1Since rbenv uses the directory name to determine the versions, we just adjust our prefix in the configure step of the usual configure-make dance.
$ ./configure --prefix=$HOME/.rbenv/versions/2.0.0-rc1 $ make $ make test $ make installNow a rehash will pick it up.
$ rbenv rehash $ rbenv global 2.0.0-rc1 $ ruby -v ruby 2.0.0dev (2013-01-07 trunk 38733) [x86_64-linux]
Oops! This ruby doesn't seem to know it's the release candidate, but it is.
Note that they plan on one more release candidate and then Ruby 2.0 will be released!
Keyword arguments! Lazy Enumerators! Onigmo! Exciting times!
We will release 2.0.0-rc2 in early February, and 2.0.0-p0 at 24th Feb. (the 20th anniversary of Ruby).
(20130208) Update: Release candidate 2 released!
$ cd .rbenv/plugins/ruby-build/ $ git pull $ rbenv install 2.0.0-rc2 ... $ rbenv global 2.0.0-rc2 $ ruby -v ruby 2.0.0dev (2013-02-08 trunk 39161) [x86_64-linux]Gosh, rbenv is great, innit?