We’ve been working through bug after bug in Ruby 1.9.1 and Rails 2.3.4 all in the effort of getting our new product launched. I don’t want to say we’ve given up and retreated, but rather, we’ve put Ruby 1.9.1 to the side for a while. There are just too many things that need patching and fixed just to get things to run normally.
We’re looking at Ruby Enterprise Edition by Phusion, and we’re pretty excited by the features and speed. We just want to go back, either to 1.8.7 or even 1.8.6 cause outside of 1.9.1 not only do normal things work, like sending an email from someone: John Locke < jlocke@theisland.com > instead of just a nondescript email address: jlocke@theisland.com But the site just seems way faster than when it was on 1.9.1.
To downgrade my development Ruby and make like easier when we want to return to 1.9.x, I turned to Ruby Version Manager. RVM is a great little gem written by Wayne Seguin that was just updated yesterday. RVM allows you to switch between Ruby versions, including Ruby Enterprise Edition and JRuby as well as using what RVM calls gem sets.
This allows me to install different versions of Rails against a particular version of Ruby. For example, by just typing: rvm ree -m rails234 I can set up a gem set called rails234 where I can install Rails 2.3.4 using gem install rails -v 2.3.4 and test it using Ruby Enterprise Edition. If I want to install Rails 2.3.3 I do the same thing: rvm ree -m rails233 then gem install rails -v 2.3.3
Switching between versions is as easy as rvm ree or rvm 1.9.1 You can find out more at the RVM site. But I have to say Ruby development has never been so easy. Thanks for a great gem Wayne.
