Recommended practice for Ruby 1.8.6 and Ruby 1.9.x on Windows

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.

Cheers,
Mohit.
10/1/2010 | 2:44 PM.

On 10/1/2010 6:13 PM, Phillip G. wrote:

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.

Hi Phillip,

That’s reassuring - I’m off to it now! Finally, my Ruby 3 book will
come in handy :slight_smile:

Cheers,
Mohit.
10/1/2010 | 7:55 PM.

On 10.01.2010 07:45, Mohit S. 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.