How to update gem to a version that's not the latest ?

G

Gaudi Mi

I posted an earlier question but am amending it with this question
instead which hopefully gets to the heart of the matter:

I'm trying to get from rubygems version 0.9.5 to version 1.2.0 because I
believe that 1.3.0 has a possible bug. However when I install 0.9.5 and
then do a gem update --system it updates to 1.3.0 because that's the
most recent in my remote repository (we use an internal repository,
btw).

The repository does have 1.2.0. How do I get to version 1.2.0 instead
of 1.3.0?

Thanks.
 
R

Rados³aw Bu³at

RG93bmxvYWQgaXQgbWFudWFsbHkgYW5kIGluc3RhbGwgZnJvbSBsb2NhbCBmaWxlLgoKLS0gClJh
ZG9zs2F3IEJ1s2F0CgpodHRwOi8vcmFkYXJlay5qb2dnZXIucGwgLSBt82ogYmxvZwo=
 
G

Gaudi Mi

Thanks for the response, but the question of "how" was really the heart
of my question. I understand that *gems* can be installed locally by
using the -l switch, but when I try

gem update --system -l [some file name]

it does not work and I'm not clear on the difference between

gem install rubygems-update-0.9.5.gem

and

gem update --system

and

update_rubygems.

Am I the only person that finds this confusing?

Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,436
Messages
2,571,696
Members
48,796
Latest member
Greg L.
Top