[lnkForumImage]
TotalShareware - Download Free Software

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


 

Forums >

comp.lang.ruby

Updating to gem version 1.3.1 on Ubuntu 8.04

John Small

1/9/2009 4:23:00 PM

I see someone else is having problems updating to gem version 1.3.1 on
Ubuntu 8.04. But my problem is different. I've updated OK and in the gem
list --local I see ruby-gems-update 1.3.1 but gem -v still returns
1.2.0. That's what's setup in the environment. So now when I try to do
anything that requires gem version 1.3.1 it doesn't work.

If I try gem update --system it says there's nothing to do, it's all
uptodate.

Any idea what could be wrong? If it's just the environment variable,
where do I set it so that I get the right one after a reboot?

John Small
--
Posted via http://www.ruby-....

1 Answer

John Small

1/9/2009 4:51:00 PM

0

John Small wrote:
> I see someone else is having problems updating to gem version 1.3.1 on
> Ubuntu 8.04. But my problem is different. I've updated OK and in the gem
> list --local I see ruby-gems-update 1.3.1 but gem -v still returns
> 1.2.0. That's what's setup in the environment. So now when I try to do
> anything that requires gem version 1.3.1 it doesn't work.
>
> If I try gem update --system it says there's nothing to do, it's all
> uptodate.
>
> Any idea what could be wrong? If it's just the environment variable,
> where do I set it so that I get the right one after a reboot?
>
> John Small

Sorted! I looked at http://www.rubygems.org/read/chapte...

and then used the hint to run

gem install rubygems-update
update_rubygems

It all worked fine after that.

John Small
--
Posted via http://www.ruby-....