September 24th 2011

How to install Ruby 1.9.3rc1 with RVM

Today Ruby 1.9.3 RC1 was released, it's a faster version of ruby with a couple of new features. Peter Cooper has written a nice summary about the new stuff in ruby 1.9.3 over at RubyInside.

Ruby Version Manager hasn't added RC1 to it's known rubies yet, but you can still install it by specifying the tag v1_9_3_rc1 to the rvm install command:

  ~ $ rvm install 1.9.3-tv1_9_3_rc1

After finishing the install it's pretty nice to add a more rememberable alias for RC1:

 ~ $ rvm alias create ruby-1.9.3-rc1 ruby-1.9.3-tv1_9_3_rc1
 ~ $ rvm use ruby-1.9.3-rc1

Also if you have a lot of gems, you can copy them with RVM's copy and migrate commands.

Endorse arvida on Coderwall
blog comments powered by Disqus