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

**URL:** <https://www.ruby-forum.com/t/one-click-ruby-installer-can-run-in-upgrade-mode/96962>\
**Category:** Ruby\
**Created:** [July 3, 2006, 8:11pm UTC](https://www.ruby-forum.com/t/one-click-ruby-installer-can-run-in-upgrade-mode/96962 "2006-07-03T20:11:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alexandru\_P](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/258eb7/32.png) [@Alexandru\_P](https://www.ruby-forum.com/u/Alexandru_P)\
**Post date:** [July 3, 2006, 8:11pm UTC](https://www.ruby-forum.com/t/one-click-ruby-installer-can-run-in-upgrade-mode/96962/1 "2006-07-03T20:11:28Z")

</div>

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?

TIA,

./alex

---

<div class="post-metadata">

**Author:** ![Alexandru\_P](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/258eb7/32.png) [@Alexandru\_P](https://www.ruby-forum.com/u/Alexandru_P)\
**Post date:** [July 3, 2006, 8:45pm UTC](https://www.ruby-forum.com/t/one-click-ruby-installer-can-run-in-upgrade-mode/96962/2 "2006-07-03T20:45:55Z")

</div>

On 7/3/06, Alexandru P. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> way to have a list of the gems I have installed so that I can install  
> them back?

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:

_gem list_

Curt

Curt

---

<div class="post-metadata">

**Author:** ![Alexandru\_P](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/258eb7/32.png) [@Alexandru\_P](https://www.ruby-forum.com/u/Alexandru_P)\
**Post date:** [July 3, 2006, 8:49pm UTC](https://www.ruby-forum.com/t/one-click-ruby-installer-can-run-in-upgrade-mode/96962/3 "2006-07-03T20:49:09Z")

</div>

Alexandru P. wrote:

> 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?

gem list

–  
James B.

“In physics the truth is rarely perfectly clear, and that is certainly  
universally the case in human affairs. Hence, what is not surrounded  
by  
uncertainty cannot be the truth.”

- R. Feynman

---

<div class="post-metadata">

**Author:** ![Alexandru\_P](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/258eb7/32.png) [@Alexandru\_P](https://www.ruby-forum.com/u/Alexandru_P)\
**Post date:** [July 3, 2006, 9:01pm UTC](https://www.ruby-forum.com/t/one-click-ruby-installer-can-run-in-upgrade-mode/96962/4 "2006-07-03T21:01:41Z")

</div>

Thanks a lot to both answers.

## ./alex

## .w( the\_mindstorm )p.

([http://themindstorms.blogspot.com](http://themindstorms.blogspot.com))
