One-Click Ruby Installer can run in upgrade mode?

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).
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)

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

···

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

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\).

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?

  gem list

···

--
James Britt

"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

Thanks a lot to both answers.

./alex

···

--
.w( the_mindstorm )p.
---
(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\).
>
> 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?
>

  gem list

--
James Britt

"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