# RubyGems update

**URL:** <https://www.ruby-forum.com/t/rubygems-update/142241>\
**Category:** Rails\
**Created:** [July 5, 2008, 1:08am UTC](https://www.ruby-forum.com/t/rubygems-update/142241 "2008-07-05T01:08:21Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![bruparel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/e47774/32.png) [@bruparel](https://www.ruby-forum.com/u/bruparel)\
**Post date:** [July 5, 2008, 1:08am UTC](https://www.ruby-forum.com/t/rubygems-update/142241/1 "2008-07-05T01:08:21Z")

</div>

I have RubGems 1.1.0 installed on my Fedora Core 5 machine along with a  
lot of rails 2.0.2 stuff. I want to upgrade to version 1.2.0 as easily  
as possible. I typed in:

gem update --system

as root but that did not do it. It says nothing to update.

How do I upgrade it?

Thanks.

Bharat

---

<div class="post-metadata">

**Author:** ![bruparel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/e47774/32.png) [@bruparel](https://www.ruby-forum.com/u/bruparel)\
**Post date:** [July 5, 2008, 1:47am UTC](https://www.ruby-forum.com/t/rubygems-update/142241/2 "2008-07-05T01:47:09Z")

</div>

you can use:

gem update rails

or

gem install rails

to get the latest version. the “update --system” will update the  
rubygems  
software

On Fri, Jul 4, 2008 at 4:08 PM, Bharat R. \<

---

<div class="post-metadata">

**Author:** ![bruparel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/e47774/32.png) [@bruparel](https://www.ruby-forum.com/u/bruparel)\
**Post date:** [July 5, 2008, 2:14am UTC](https://www.ruby-forum.com/t/rubygems-update/142241/3 "2008-07-05T02:14:36Z")

</div>

AnnaLissa, thats exactly what Bharat wants 😛 To update RubyGems (not  
rails)

I get a similar problem on a Mac. It worked once, but I had to roll back  
to  
1.1.x because it wouldn’t find Piston. Now it wont update to 1.2.0 at  
all.  
Keeps reporting “Nothing to update”.

Regards  
Kieran

On Sat, Jul 5, 2008 at 11:46 AM, AnnaLissa C. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

---

<div class="post-metadata">

**Author:** ![bruparel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/e47774/32.png) [@bruparel](https://www.ruby-forum.com/u/bruparel)\
**Post date:** [July 5, 2008, 4:12am UTC](https://www.ruby-forum.com/t/rubygems-update/142241/4 "2008-07-05T04:12:09Z")

</div>

Sorry about that. Obviously not thinking too straight on this holiday.  
🙂

after a quick search, I found this:  
[http://rubyforge.org/tracker/index.php?func=detail&aid=20775&group\_id=126&atid=575](http://rubyforge.org/tracker/index.php?func=detail&aid=20775&group_id=126&atid=575)

As suggested, perhaps running this command first might do the trick:

gem install rubygems-update -v 1.1.1

Regards,  
a.l.

---

<div class="post-metadata">

**Author:** ![bruparel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/e47774/32.png) [@bruparel](https://www.ruby-forum.com/u/bruparel)\
**Post date:** [July 5, 2008, 5:19pm UTC](https://www.ruby-forum.com/t/rubygems-update/142241/5 "2008-07-05T17:19:43Z")

</div>

Here is what worked for me last night:

gem install rubygems-update  
update\_rubygems

Note that on systems like Ubuntu, you have to precede these commands  
with “sudo”, I was updating a Fedora box.

I got these instructions from the following link:

[http://www.rubygems.org/read/chapter/3](http://www.rubygems.org/read/chapter/3)

If you scroll down to section 3.3 titled Updating RubyGems, you will see  
them.

Note that these instructions are listed for updating RubyGems prior to  
0.8.5, however, they worked for me even though I was upgrading from  
RubyGems 1.1.0. I am not arguing with what works.

Hope this helps.

Bharat
