Ruby gem update issue in macos 10.5.7

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

Any idea?

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

There’s been a recent move of gems to 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/

adds gemcutter to sources

sudo gem sources -r http://gems.rubyforge.org/

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

sudo gem update --system

try the update again

Junmin Liu wrote:

ERROR: While executing gem … (Gem::RemoteSourceException)
HTTP Response 403 fetching RubyGems.org | your community gem host

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

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

-Justin

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
ERROR: While executing gem … (Gem::RemoteSourceException)
HTTP Response 403 fetching RubyGems.org | your community gem host

–junmin

Nathan B. wrote:

There’s been a recent move of gems to 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/

adds gemcutter to sources

sudo gem sources -r http://gems.rubyforge.org/

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

sudo gem update --system

try the update again

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

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

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

-Kees Briggs

On Nov 23, 10:03 pm, keesbriggs [email protected] 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/

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