From: Phillip Gawlowski Date: 2010-01-10T19:13:08+09:00 Subject: Re: Recommended practice for Ruby 1.8.6 and Ruby 1.9.x on Windows On 10.01.2010 07:45, Mohit Sindhwani wrote: > Hi there! Is there any recommended practice for using Ruby 1.8.6 and > Ruby 1.9.x on the same Windows PC? I do some work in Rails and a lot of > our stuff was written and is working fine in Ruby 1.8..6, so we're > hesitant (resistant?) to change it just yet. > > What I want to do is to slowly start moving to Ruby 1.9.x in parallel so > that I can start to see if all is well. > > Any recommendations? The 1.8.6 was installed using the One Click Installer. Just download and install 1.9 from rubyinstaller.org. It installs Ruby 1.9 in its own directory by default, so that 1.8.x and 1.9 can coexist happily. You can then install pik, for example (gem install pik), which allows you to switch Ruby interpreters (for one console session only) on the fly, and you can run your tests. This, sans pik, is my own setup, and it works rather well. -- Phillip Gawlowski