Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

ruby gem update issue in macos 10.5.7

10 views
Skip to first unread message

Junmin Liu

unread,
Nov 20, 2009, 6:23:03 PM11/20/09
to
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 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,
--
Posted via http://www.ruby-forum.com/.

Nathan Beyer

unread,
Nov 20, 2009, 6:48:28 PM11/20/09
to
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

Justin Collins

unread,
Nov 20, 2009, 6:54:37 PM11/20/09
to

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

Junmin Liu

unread,
Nov 20, 2009, 8:34:07 PM11/20/09
to
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 http://gemcutter.org/yaml

--junmin

Nathan Beyer 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

--
Posted via http://www.ruby-forum.com/.

Tom Copeland

unread,
Nov 20, 2009, 9:59:03 PM11/20/09
to

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

Yours,

Tom


keesbriggs

unread,
Nov 23, 2009, 8:03:37 PM11/23/09
to
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 20, 6:59 pm, Tom Copeland <t...@infoether.com> wrote:
> On Nov 20, 2009, at 6:54 PM, Justin Collins wrote:
>
>
>
> > Junmin Liu wrote:
> >> 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 fetchinghttp://gems.rubyforge.org/yaml

Luis Lavena

unread,
Nov 23, 2009, 10:30:56 PM11/23/09
to
On Nov 23, 10:03 pm, keesbriggs <kees.bri...@gmail.com> 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/

--
Luis Lavena

Jason FB

unread,
Aug 5, 2010, 11:13:19 AM8/5/10
to
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


0 new messages