[Rubygems-developers] rubygems / http://gems.rubyforge.org/ stability (RubyGems will revert to legacy indexes degrading performance)

Greg Hauptmann greg.hauptmann.ruby at gmail.com
Sun Sep 7 20:26:16 EDT 2008


PS.  I also get this trying to update the system

Macintosh-2:myequity greg$ sudo gem update --system
Password:
Updating RubyGems
WARNING:  RubyGems 1.2+ index not found for:
RubyGems will revert to legacy indexes degrading performance.
Updating metadata for 23 gems from http://gems.rubyforge.org/
ERROR:  While executing gem ... (NoMethodError)
    undefined method `full_name' for #<String:0x1b7b5b4>
Macintosh-2:myequity greg$

Other info:
Macintosh-2:myequity greg$ gem -v
1.2.0
Macintosh-2:myequity greg$ ruby -v
ruby 1.8.6 (2007-09-23 patchlevel 110) [i686-darwin9.3.0]

With --debug enabled:
------------------------------------
Macintosh-2:myequity greg$ sudo gem update --system --debug
Exception `NameError' at
/opt/local/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:134

   - uninitialized constant Gem::Commands::UpdateCommand
Updating RubyGems
Exception `Timeout::Error' at /opt/local/lib/ruby/1.8/timeout.rb:54 -
execution expired
Exception `Gem::RemoteFetcher::FetchError' at
/opt/local/lib/ruby/site_ruby/1.8/rubygems/remote_fetcher.rb:142 -
timed out (http://gems.rubyforge.org/latest_specs.4.8.gz)
WARNING:  RubyGems 1.2+ index not found for:


RubyGems will revert to legacy indexes degrading performance.
Exception `Net::HTTPBadResponse' at
/opt/local/lib/ruby/1.8/net/http.rb:2019 - wrong status line:
"\037\213\b\000gh\304H\000\003t\275[\214$Yv\030\346\316\031vWe\275_\375\234\331%\333\\\214H8{\273\262\252_+\017T3\3233\275\263\234\356\031v\365>HJ"
Exception `Timeout::Error' at /opt/local/lib/ruby/1.8/timeout.rb:54 -
execution expired
Exception `Gem::RemoteFetcher::FetchError' at
/opt/local/lib/ruby/site_ruby/1.8/rubygems/remote_fetcher.rb:142 -
timed out (http://gems.rubyforge.org/quick/latest_index.rz)
Updating metadata for 23 gems from http://gems.rubyforge.org/
Exception `TypeError' at
/opt/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:488 -
incompatible marshal file format (can't be read)
        format version 4.8 required; 65.78 given
Exception `NoMethodError' at
/opt/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:172 -
undefined method `full_name' for #<String:0x1b821d4>
ERROR:  While executing gem ... (NoMethodError)
    undefined method `full_name' for #<String:0x1b821d4>
        /opt/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:172:in
`add_spec'
        /opt/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:523:in
`update_with_missing'
        /opt/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:517:in `each'
        /opt/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:517:in
`update_with_missing'
        /opt/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:355:in
`update'
        /opt/local/lib/ruby/site_ruby/1.8/rubygems/source_info_cache_entry.rb:42:in
`refresh'
        /opt/local/lib/ruby/site_ruby/1.8/rubygems/source_info_cache.rb:249:in
`refresh'
        /opt/local/lib/ruby/site_ruby/1.8/rubygems/source_info_cache.rb:242:in
`each'
        /opt/local/lib/ruby/site_ruby/1.8/rubygems/source_info_cache.rb:242:in
`refresh'
        /opt/local/lib/ruby/site_ruby/1.8/rubygems/source_info_cache.rb:41:in
`cache'
        /opt/local/lib/ruby/site_ruby/1.8/rubygems/source_info_cache.rb:86:in
`search_with_source'
        /opt/local/lib/ruby/site_ruby/1.8/rubygems/commands/update_command.rb:147:in
`which_to_update'
        /opt/local/lib/ruby/site_ruby/1.8/rubygems/spec_fetcher.rb:242:in
`warn_legacy'
        /opt/local/lib/ruby/site_ruby/1.8/rubygems/commands/update_command.rb:142:in
`which_to_update'
        /opt/local/lib/ruby/site_ruby/1.8/rubygems/commands/update_command.rb:132:in
`each'
        /opt/local/lib/ruby/site_ruby/1.8/rubygems/commands/update_command.rb:132:in
`which_to_update'
        /opt/local/lib/ruby/site_ruby/1.8/rubygems/commands/update_command.rb:68:in
`execute'
        /opt/local/lib/ruby/site_ruby/1.8/rubygems/command.rb:136:in `invoke'
        /opt/local/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:105:in
`process_args'
        /opt/local/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:75:in
`run'
        /opt/local/lib/ruby/site_ruby/1.8/rubygems/gem_runner.rb:39:in `run'
        /opt/local/bin/gem:24
Macintosh-2:myequity greg$
------------------------------




On Mon, Sep 8, 2008 at 10:05 AM, Greg Hauptmann
<greg.hauptmann.ruby at gmail.com> wrote:
> Hi,  (I'm not sure if this is the appropriate forum to raise this?)
>
> I have been having stability issues with http://gems.rubyforge.org/
> over the last week.  Is this a known issue (i.e. trying work out if
> this is global or an issue at my end).
>
> For example I have been unsuccessful in getting "mysql" installed.  I
> get a "RubyGems will revert to legacy indexes degrading performance"
> output.  See below:
>
> =========================
> Macintosh-2:myequity greg$ sudo gem install mysql
> Password:
> WARNING:  RubyGems 1.2+ index not found for:
> RubyGems will revert to legacy indexes degrading performance.
> Updating metadata for 23 gems from http://gems.rubyforge.org/
> ERROR:  While executing gem ... (NoMethodError)
>    undefined method `full_name' for #<String:0x1b93218>
> Macintosh-2:myequity greg$
> Macintosh-2:myequity greg$
> =========================
>
> thanks in advance
>


More information about the Rubygems-developers mailing list