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/.
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
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
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/.
That's the thing to do, yup. I don't think we even produce the old uncompressed yaml gem index now.
Yours,
Tom
-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
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
Upgrade it by following these intructions
http://docs.rubygems.org/read/chapter/3