# Does one-click install leave other installs intact?

**URL:** <https://www.ruby-forum.com/t/does-one-click-install-leave-other-installs-intact/101125>\
**Category:** Ruby\
**Created:** [August 3, 2006, 1:05pm UTC](https://www.ruby-forum.com/t/does-one-click-install-leave-other-installs-intact/101125 "2006-08-03T13:05:15Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![bradjpeek](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/a183cd/32.png) [@bradjpeek](https://www.ruby-forum.com/u/bradjpeek)\
**Post date:** [August 3, 2006, 1:05pm UTC](https://www.ruby-forum.com/t/does-one-click-install-leave-other-installs-intact/101125/1 "2006-08-03T13:05:15Z")

</div>

In the process of learning Ruby, so this is a newbie question…

I used the one-click (windows) Ruby install to install Ruby 1.8.4 and  
afterwards I installed other Ruby classes such as OCI8 and Ruport. If  
I use the one-click install to get a newer version of Ruby, will I need  
to reinstall the other packages as well?

In case it matters, Ruport was installed via “gem”, while OCI8 had its  
own install script.

---

<div class="post-metadata">

**Author:** ![bradjpeek](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/a183cd/32.png) [@bradjpeek](https://www.ruby-forum.com/u/bradjpeek)\
**Post date:** [August 3, 2006, 1:06pm UTC](https://www.ruby-forum.com/t/does-one-click-install-leave-other-installs-intact/101125/2 "2006-08-03T13:06:49Z")

</div>

My guess is that you will have to. When I upgraded to 1.8.4 from 1.8.2,  
the installer asked me to remove my previous version. With that, I lost  
all my installed gems and had to start from scratch. I am aware of any  
other way to do this.

---

<div class="post-metadata">

**Author:** ![bradjpeek](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/a183cd/32.png) [@bradjpeek](https://www.ruby-forum.com/u/bradjpeek)\
**Post date:** [August 3, 2006, 1:09pm UTC](https://www.ruby-forum.com/t/does-one-click-install-leave-other-installs-intact/101125/3 "2006-08-03T13:09:47Z")

</div>

You can have multiple versions installed simultaneously (or even  
multiple copies of the same version) – they just need to be installed  
in separate directories. Of course, only one at a time can have its  
“bin” directory on the system path, so this is the one that gets used  
by default.

Extensions (including all RubyGems) are stored within the Ruby  
directory tree, so they need to be installed separately for each  
instance of Ruby.

---

<div class="post-metadata">

**Author:** ![bradjpeek](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/a183cd/32.png) [@bradjpeek](https://www.ruby-forum.com/u/bradjpeek)\
**Post date:** [August 3, 2006, 2:23pm UTC](https://www.ruby-forum.com/t/does-one-click-install-leave-other-installs-intact/101125/4 "2006-08-03T14:23:18Z")

</div>

Thanks for your response Curt…

Just to clarify; I installed 1.8.4-20 via one-click. If/when  
1.8.4-22 comes out would that be considered a new version? And, more  
to the point, would it cause me to need to reinstall Ruport, OCI8, and  
any other add-on’s ?

In any event, it sounds like a good idea to keep track of these  
add-on’s since it’s just a matter of time before they’ll need to be  
reinstalled.

P.S. Thanks for your willingness to help make Ruby a success. I  
became interested after reading an article on Rails, and I’ve quickly  
become a fan.

---

<div class="post-metadata">

**Author:** ![bradjpeek](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/a183cd/32.png) [@bradjpeek](https://www.ruby-forum.com/u/bradjpeek)\
**Post date:** [August 3, 2006, 2:23pm UTC](https://www.ruby-forum.com/t/does-one-click-install-leave-other-installs-intact/101125/5 "2006-08-03T14:23:29Z")

</div>

Unftunately you would have to reinstall them. Once everything is  
available as RubyGems, that shouldn’t be too much a problem, but I  
know its a bit of a pain now.

Curt
