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

On 7/3/06, Alexandru P. [email protected]
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

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

Thanks a lot to both answers.

./alex

.w( the_mindstorm )p.

(http://themindstorms.blogspot.com)

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs