# Updating to gem version 1.3.1 on Ubuntu 8.04

**URL:** <https://www.ruby-forum.com/t/updating-to-gem-version-1-3-1-on-ubuntu-8-04/157344>\
**Category:** Ruby\
**Created:** [January 9, 2009, 5:23pm UTC](https://www.ruby-forum.com/t/updating-to-gem-version-1-3-1-on-ubuntu-8-04/157344 "2009-01-09T17:23:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![captaffy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/f04885/32.png) [@captaffy](https://www.ruby-forum.com/u/captaffy)\
**Post date:** [January 9, 2009, 5:23pm UTC](https://www.ruby-forum.com/t/updating-to-gem-version-1-3-1-on-ubuntu-8-04/157344/1 "2009-01-09T17:23:01Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![captaffy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/f04885/32.png) [@captaffy](https://www.ruby-forum.com/u/captaffy)\
**Post date:** [January 9, 2009, 5:51pm UTC](https://www.ruby-forum.com/t/updating-to-gem-version-1-3-1-on-ubuntu-8-04/157344/2 "2009-01-09T17:51:25Z")

</div>

John S. 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 S.

Sorted! I looked at [http://www.rubygems.org/read/chapter/3#page14](http://www.rubygems.org/read/chapter/3#page14)

and then used the hint to run

gem install rubygems-update  
update\_rubygems

It all worked fine after that.

John S.
