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.
Hi Phillip,
That’s reassuring - I’m off to it now! Finally, my Ruby 3 book will
come in handy
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.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.