junmin
November 21, 2009, 12:22am
1
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,
junmin
November 21, 2009, 12:50am
2
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
November 21, 2009, 12:55am
3
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
junmin
November 21, 2009, 2:34am
4
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
junmin
November 21, 2009, 3:59am
5
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
junmin
November 24, 2009, 2:05am
6
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
junmin
November 24, 2009, 4:35am
7
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/
junmin
August 5, 2010, 5:20pm
8
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