The Ruby MRI 1.9.3 RC1 has just been released and I wanted to try it out, the latest version of rvm only lists the 1.9.3 preview1 and 1.9.3-head which doesn’t appear to work correctly. Here’s how I managed to get 1.9.3 installed using rvm:
1 2 3 4 | |
Ruby 1.9.3 works quite well (all of my tests still seem to be green), although there are a few small issues at the moment. For example ruby-debug19 doesn’t currently install. Running a quick test shows that 1.9.3 does indeed seem to load up a rails environment much quicker, here is a comparison of running rspec and cucumber tests for a rails 3.1 project.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | |
As you can see the actual tests themselves ran faster but not by much, the total execution time went down a lot though as 1.9.3 has some new fixes to dramatically speed up the time it takes to require libraries.
Update
1.9.3rc1 is now available directly through RVM. Simply run:
1 2 3 | |