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

M

Mohit Sindhwani

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.
 
P

Phillip Gawlowski

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.
 
M

Mohit Sindhwani

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 :)

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,905
Latest member
Kristy_Poole

Latest Threads

Top