# One-Click Ruby Installer can run in upgrade mode?

**URL:** https://rubytalk.org/t/one-click-ruby-installer-can-run-in-upgrade-mode/28617
**Category:** ruby-talk
**Created:** [3 July 2006 18:08 UTC](https://rubytalk.org/t/one-click-ruby-installer-can-run-in-upgrade-mode/28617 "2006-07-03T18:08:29Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Alexandru\_Popescu](https://avatars.discourse-cdn.com/v4/letter/a/94ad74/32.png) [@Alexandru\_Popescu](https://rubytalk.org/u/Alexandru_Popescu)
#### Post date: [3 July 2006 18:08 UTC](https://rubytalk.org/t/one-click-ruby-installer-can-run-in-upgrade-mode/28617/1 "2006-07-03T18:08:29Z")

</div>

Hi!

I have a couple of gems installed by the InstantRails installer (and  
hacked according to  
[http://themindstorms.blogspot.com/2006/06/instantrails-using-existing.html](http://themindstorms.blogspot.com/2006/06/instantrails-using-existing.html)).  
I am wondering if now that the RC3 is out (and I would definitely like  
to upgrade), than what are the steps that I must perform. I see 2  
possible options:

1/ the clean scenario  
- uninstall previous version  
- install new one  
- install old gems (if I can remember which one; is there a away to  
know which gems are installed on my system?)

2/ upgrade scenario  
- install the new one-click ruby installer over the old one

I guess the first scenario is the recommended one, but than is there a  
way to have a list of the gems I have installed so that I can install  
them back?

TIA,

./alex

> **···**
>
> --  
> .w( the\_mindstorm )p.  
> ---  
> ([http://themindstorms.blogspot.com](http://themindstorms.blogspot.com))

---

<div class="post-metadata">

### Author: ![Curt\_Work\_Hibbs1](https://avatars.discourse-cdn.com/v4/letter/c/bbe5ce/32.png) [@Curt\_Work\_Hibbs1](https://rubytalk.org/u/Curt_Work_Hibbs1)
#### Post date: [3 July 2006 18:44 UTC](https://rubytalk.org/t/one-click-ruby-installer-can-run-in-upgrade-mode/28617/2 "2006-07-03T18:44:35Z")

</div>

Unfortunately, there is only option #1. Option #2 resulting in broken  
systems to the installer checks for this and explicitly does not allow it.

To find out what RubyGems you have installed, open a command window and run  
the command:

&nbsp;&nbsp;\*gem list\*

Curt

Curt

> **···**
>
> On 7/3/06, Alexandru Popescu \<the.mindstorm.mailinglist@gmail.com\> wrote:
> 
> > Hi!
> > 
> > I have a couple of gems installed by the InstantRails installer (and  
> > hacked according to  
> > [mindstorms: InstantRails using existing installations (tips and tricks)](http://themindstorms.blogspot.com/2006/06/instantrails-using-existing.html)  
> > ).  
> > I am wondering if now that the RC3 is out (and I would definitely like  
> > to upgrade), than what are the steps that I must perform. I see 2  
> > possible options:
> > 
> > 1/ the clean scenario  
> > - uninstall previous version  
> > - install new one  
> > - install old gems (if I can remember which one; is there a away to  
> > know which gems are installed on my system?)
> > 
> > 2/ upgrade scenario  
> > - install the new one-click ruby installer over the old one
> > 
> > I guess the first scenario is the recommended one, but than is there a  
> > way to have a list of the gems I have installed so that I can install  
> > them back?

---

<div class="post-metadata">

### Author: ![James\_Britt3](https://avatars.discourse-cdn.com/v4/letter/j/b782af/32.png) [@James\_Britt3](https://rubytalk.org/u/James_Britt3)
#### Post date: [3 July 2006 18:46 UTC](https://rubytalk.org/t/one-click-ruby-installer-can-run-in-upgrade-mode/28617/3 "2006-07-03T18:46:02Z")

</div>

Alexandru Popescu wrote:

> Hi!
> 
> I have a couple of gems installed by the InstantRails installer (and  
> hacked according to  
> [http://themindstorms.blogspot.com/2006/06/instantrails-using-existing.html\](http://themindstorms.blogspot.com/2006/06/instantrails-using-existing.html%5C)).
> 
> I am wondering if now that the RC3 is out (and I would definitely like  
> to upgrade), than what are the steps that I must perform. I see 2  
> possible options:
> 
> 1/ the clean scenario  
> - uninstall previous version  
> - install new one  
> - install old gems (if I can remember which one; is there a away to  
> know which gems are installed on my system?)

You will also have to look after any additional libraries not installed via rubygems (such as with install.rb)

> 2/ upgrade scenario  
> - install the new one-click ruby installer over the old one
> 
> I guess the first scenario is the recommended one, but than is there a  
> way to have a list of the gems I have installed so that I can install  
> them back?

&nbsp;&nbsp;gem list

> **···**
>
> --  
> James Britt
> 
> "In physics the truth is rarely perfectly clear, and that is certainly  
> &nbsp;&nbsp;universally the case in human affairs. Hence, what is not surrounded by  
> &nbsp;&nbsp;uncertainty cannot be the truth."  
> &nbsp;&nbsp;- R. Feynman

---

<div class="post-metadata">

### Author: ![Alexandru\_Popescu](https://avatars.discourse-cdn.com/v4/letter/a/94ad74/32.png) [@Alexandru\_Popescu](https://rubytalk.org/u/Alexandru_Popescu)
#### Post date: [3 July 2006 18:59 UTC](https://rubytalk.org/t/one-click-ruby-installer-can-run-in-upgrade-mode/28617/4 "2006-07-03T18:59:15Z")

</div>

Thanks a lot to both answers.

./alex

> **···**
>
> --  
> .w( the\_mindstorm )p.  
> ---  
> ([http://themindstorms.blogspot.com](http://themindstorms.blogspot.com))
> 
> On 7/3/06, James Britt \<james.britt@gmail.com\> wrote:
> 
> > Alexandru Popescu wrote:  
> > \> Hi!  
> > \>  
> > \> I have a couple of gems installed by the InstantRails installer (and  
> > \> hacked according to  
> > \> [http://themindstorms.blogspot.com/2006/06/instantrails-using-existing.html\](http://themindstorms.blogspot.com/2006/06/instantrails-using-existing.html%5C)).  
> > \>  
> > \> I am wondering if now that the RC3 is out (and I would definitely like  
> > \> to upgrade), than what are the steps that I must perform. I see 2  
> > \> possible options:  
> > \>  
> > \> 1/ the clean scenario  
> > \> - uninstall previous version  
> > \> - install new one  
> > \> - install old gems (if I can remember which one; is there a away to  
> > \> know which gems are installed on my system?)
> > 
> > You will also have to look after any additional libraries not installed  
> > via rubygems (such as with install.rb)
> > 
> > \>  
> > \> 2/ upgrade scenario  
> > \> - install the new one-click ruby installer over the old one  
> > \>  
> > \> I guess the first scenario is the recommended one, but than is there a  
> > \> way to have a list of the gems I have installed so that I can install  
> > \> them back?  
> > \>
> > 
> > &nbsp;&nbsp;gem list
> > 
> > --  
> > James Britt
> > 
> > "In physics the truth is rarely perfectly clear, and that is certainly  
> > &nbsp;&nbsp;universally the case in human affairs. Hence, what is not surrounded by  
> > &nbsp;&nbsp;uncertainty cannot be the truth."  
> > &nbsp;&nbsp;- R. Feynman
