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

**URL:** <https://rubytalk.org/t/recommended-practice-for-ruby-1-8-6-and-ruby-1-9-x-on-windows/56958>\
**Category:** ruby-talk\
**Created:** [10 January 2010 06:45 UTC](https://rubytalk.org/t/recommended-practice-for-ruby-1-8-6-and-ruby-1-9-x-on-windows/56958 "2010-01-10T06:45:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mohit\_Sindhwani1](https://avatars.discourse-cdn.com/v4/letter/m/dbc845/32.png) [@Mohit\_Sindhwani1](https://rubytalk.org/u/Mohit_Sindhwani1)\
**Post date:** [10 January 2010 06:45 UTC](https://rubytalk.org/t/recommended-practice-for-ruby-1-8-6-and-ruby-1-9-x-on-windows/56958/1 "2010-01-10T06:45:10Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Phillip\_Gawlowski1](https://avatars.discourse-cdn.com/v4/letter/p/f17d59/32.png) [@Phillip\_Gawlowski1](https://rubytalk.org/u/Phillip_Gawlowski1)\
**Post date:** [10 January 2010 10:13 UTC](https://rubytalk.org/t/recommended-practice-for-ruby-1-8-6-and-ruby-1-9-x-on-windows/56958/2 "2010-01-10T10:13:08Z")

</div>

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.

> **···**
>
> 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.
> 
> --  
> Phillip Gawlowski

---

<div class="post-metadata">

**Author:** ![Mohit\_Sindhwani1](https://avatars.discourse-cdn.com/v4/letter/m/dbc845/32.png) [@Mohit\_Sindhwani1](https://rubytalk.org/u/Mohit_Sindhwani1)\
**Post date:** [10 January 2010 11:55 UTC](https://rubytalk.org/t/recommended-practice-for-ruby-1-8-6-and-ruby-1-9-x-on-windows/56958/3 "2010-01-10T11:55:11Z")

</div>

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.

> **···**
>
> On 10/1/2010 6:13 PM, Phillip Gawlowski wrote:
> 
> > 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.
