# Ruby gem update issue in macos 10.5.7

**URL:** <https://www.ruby-forum.com/t/ruby-gem-update-issue-in-macos-10-5-7/179279>\
**Category:** Ruby\
**Created:** [November 21, 2009, 12:22am UTC](https://www.ruby-forum.com/t/ruby-gem-update-issue-in-macos-10-5-7/179279 "2009-11-21T00:22:56Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![junmin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/35a633/32.png) [@junmin](https://www.ruby-forum.com/u/junmin)\
**Post date:** [November 21, 2009, 12:22am UTC](https://www.ruby-forum.com/t/ruby-gem-update-issue-in-macos-10-5-7/179279/1 "2009-11-21T00:22:56Z")

</div>

i was trying to update the rubygem preinstalled in macos 10.5.7 by:sudo  
gem update --system or gem  
update --system.

but i am getting this:

> sudo gem update --system  
> Updating RubyGems…  
> ERROR: While executing gem … (Gem::RemoteSourceException)  
> HTTP Response 403 fetching [RubyGems.org | your community gem host](http://gems.rubyforge.org/yaml)

Any idea?

my gem is 1.0.1, and ruby 1.8.6 (2008-08-11 patchlevel 287)  
[universal-darwin9.0]  
Thanks,

---

<div class="post-metadata">

**Author:** ![junmin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/35a633/32.png) [@junmin](https://www.ruby-forum.com/u/junmin)\
**Post date:** [November 21, 2009, 12:50am UTC](https://www.ruby-forum.com/t/ruby-gem-update-issue-in-macos-10-5-7/179279/2 "2009-11-21T00:50:46Z")

</div>

There’s been a recent move of gems to [http://gemcutter.org/](http://gemcutter.org/). The  
RubyForge gems server is supposed to continue working, but if you want  
to move, you can do the following.

sudo gem sources list

# lists all source servers

sudo gem sources -a [http://gemcutter.org/](http://gemcutter.org/)

# adds gemcutter to sources

sudo gem sources -r [http://gems.rubyforge.org/](http://gems.rubyforge.org/)

# if you want to clean up the old source, then remove it

sudo gem update --system

# try the update again

---

<div class="post-metadata">

**Author:** ![junmin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/35a633/32.png) [@junmin](https://www.ruby-forum.com/u/junmin)\
**Post date:** [November 21, 2009, 12:55am UTC](https://www.ruby-forum.com/t/ruby-gem-update-issue-in-macos-10-5-7/179279/3 "2009-11-21T00:55:27Z")

</div>

Junmin Liu wrote:

> ERROR: While executing gem … (Gem::RemoteSourceException)  
> HTTP Response 403 fetching [RubyGems.org | your community gem host](http://gems.rubyforge.org/yaml)
> 
> Any idea?
> 
> my gem is 1.0.1, and ruby 1.8.6 (2008-08-11 patchlevel 287)  
> [universal-darwin9.0]  
> Thanks,

Install it manually from here:  
[http://rubyforge.org/frs/?group\_id=126&release\_id=37073](http://rubyforge.org/frs/?group_id=126&release_id=37073)

Automatically updating (much) older versions of RubyGems often does not  
work.

-Justin

---

<div class="post-metadata">

**Author:** ![junmin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/35a633/32.png) [@junmin](https://www.ruby-forum.com/u/junmin)\
**Post date:** [November 21, 2009, 2:34am UTC](https://www.ruby-forum.com/t/ruby-gem-update-issue-in-macos-10-5-7/179279/4 "2009-11-21T02:34:05Z")

</div>

thanks for the reply.

there is something wrong with the preinstalled ruby gem in my MacOS  
10.5.7  
and I always get the 403 error:

sudo gem sources -a [http://gemcutter.org](http://gemcutter.org)  
ERROR: While executing gem … (Gem::RemoteSourceException)  
HTTP Response 403 fetching [RubyGems.org | your community gem host](http://gemcutter.org/yaml)

–junmin

Nathan B. wrote:

> There’s been a recent move of gems to [http://gemcutter.org/](http://gemcutter.org/). The  
> RubyForge gems server is supposed to continue working, but if you want  
> to move, you can do the following.
> 
> sudo gem sources list
> 
> # lists all source servers
> 
> sudo gem sources -a [http://gemcutter.org/](http://gemcutter.org/)
> 
> # adds gemcutter to sources
> 
> sudo gem sources -r [http://gems.rubyforge.org/](http://gems.rubyforge.org/)
> 
> # if you want to clean up the old source, then remove it
> 
> sudo gem update --system
> 
> # try the update again

---

<div class="post-metadata">

**Author:** ![junmin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/35a633/32.png) [@junmin](https://www.ruby-forum.com/u/junmin)\
**Post date:** [November 21, 2009, 3:59am UTC](https://www.ruby-forum.com/t/ruby-gem-update-issue-in-macos-10-5-7/179279/5 "2009-11-21T03:59:46Z")

</div>

On Nov 20, 2009, at 6:54 PM, Justin C. wrote:

> > Updating RubyGems…  
> > Install it manually from here:  
> > [http://rubyforge.org/frs/?group\_id=126&release\_id=37073](http://rubyforge.org/frs/?group_id=126&release_id=37073)
> 
> Automatically updating (much) older versions of RubyGems often does not work.

That’s the thing to do, yup. I don’t think we even produce the old  
uncompressed yaml gem index now.

Yours,

Tom

---

<div class="post-metadata">

**Author:** ![junmin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/35a633/32.png) [@junmin](https://www.ruby-forum.com/u/junmin)\
**Post date:** [November 24, 2009, 2:05am UTC](https://www.ruby-forum.com/t/ruby-gem-update-issue-in-macos-10-5-7/179279/6 "2009-11-24T02:05:20Z")

</div>

I am getting the same error as Junmin, when trying to add  
[http://gemcutter.org/yaml](http://gemcutter.org/yaml)  
I get same 403 error as with RubyForge. Any ideas here?

-Kees Briggs

---

<div class="post-metadata">

**Author:** ![junmin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/35a633/32.png) [@junmin](https://www.ruby-forum.com/u/junmin)\
**Post date:** [November 24, 2009, 4:35am UTC](https://www.ruby-forum.com/t/ruby-gem-update-issue-in-macos-10-5-7/179279/7 "2009-11-24T04:35:44Z")

</div>

On Nov 23, 10:03 pm, keesbriggs [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> I am getting the same error as Junmin, when trying to addhttp://gemcutter.org/yaml  
> I get same 403 error as with RubyForge. Any ideas here?

Gemcutter do not produce old index format. Old indexes has been  
maintained on RubyForge for compatiblity with older version of  
RubyGems, but that is no more.

AFAIK since RubyGems 1.2. the new index format (quick) has been  
available.

Please upgrade RubyGems to latest version. See your package management  
system about newer version and how to install it or manually upgrade  
following the instructions in this post:

[http://blog.mmediasys.com/2008/08/04/problems-with-rubygems-find-here-some-handy-tips/](http://blog.mmediasys.com/2008/08/04/problems-with-rubygems-find-here-some-handy-tips/)

---

<div class="post-metadata">

**Author:** ![junmin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/35a633/32.png) [@junmin](https://www.ruby-forum.com/u/junmin)\
**Post date:** [August 5, 2010, 5:20pm UTC](https://www.ruby-forum.com/t/ruby-gem-update-issue-in-macos-10-5-7/179279/8 "2010-08-05T17:20:56Z")

</div>

Confirmed, this happens on the version of gem installed with OS X 10.5

Upgrade it by following these intructions  
[http://docs.rubygems.org/read/chapter/3](http://docs.rubygems.org/read/chapter/3)
