[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Does one-click install leave other installs intact?

bradjpeek

8/2/2006 5:56:00 PM

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.

4 Answers

navinsamuel

8/2/2006 6:15:00 PM

0

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.


bradjpeek wrote:
> 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.

Curt Hibbs

8/2/2006 6:43:00 PM

0

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.

On 8/2/06, navinsamuel@gmail.com <navinsamuel@gmail.com> wrote:
> 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.
>
>
> bradjpeek wrote:
> > 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.
>
>
>

bradjpeek

8/2/2006 9:57:00 PM

0

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.

Curt Hibbs wrote:
> 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.
>
> On 8/2/06, navinsamuel@gmail.com <navinsamuel@gmail.com> wrote:
> > 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.
> >
> >
> > bradjpeek wrote:
> > > 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.
> >
> >
> >

Curt Hibbs

8/3/2006 2:24:00 AM

0

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

On 8/2/06, bradjpeek <bradjpeek@gmail.com> wrote:
> 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.
>
> Curt Hibbs wrote:
> > 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.
> >
> > On 8/2/06, navinsamuel@gmail.com <navinsamuel@gmail.com> wrote:
> > > 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.
> > >
> > >
> > > bradjpeek wrote:
> > > > 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.
> > >
> > >
> > >
>
>
>