Gem question; error on list -r

Hi,

I've put my gem command into an unusable state:

~$ gem list --r

*** REMOTE GEMS ***
Bulk updating Gem source index for: http://gems.rubyforge.org
ERROR: While executing gem ... (NoMethodError)
    private method `scan' called for #<YAML::PrivateType:0x3849600>

I've previously removed source_cache, with source_cache in place, I get
the following

*** REMOTE GEMS ***
Need to update 2 gems from http://gems.rubyforge.org
.ERROR: While executing gem ... (URI::InvalidURIError)
    bad URI(is not URI?):
http://gems.rubyforge.org/quick/activerecord-jdbc-#<gem::version:0xa53ac84>.gemspec.rz

Could anybody point me to a solution?

TIA,
Patrick

···

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

Patrick Gundlach wrote:

Hi,

I've put my gem command into an unusable state:

~$ gem list --r

*** REMOTE GEMS ***
Bulk updating Gem source index for: http://gems.rubyforge.org
ERROR: While executing gem ... (NoMethodError)
    private method `scan' called for #<YAML::PrivateType:0x3849600>

I've previously removed source_cache, with source_cache in place, I get the following

*** REMOTE GEMS ***
Need to update 2 gems from http://gems.rubyforge.org
.ERROR: While executing gem ... (URI::InvalidURIError)
    bad URI(is not URI?): RubyGems.org | your community gem host

Could anybody point me to a solution?

TIA,
Patrick

Actually, this is a global state, due to my recent release. In some way, this have corrupted the source index. Sadly, RubyForge blows when I try to remove the erraneous file...

···

--
  Ola Bini (http://ola-bini.blogspot.com)
  JvYAML, RbYAML, JRuby and Jatha contributor
  System Developer, Karolinska Institutet (http://www.ki.se)
  OLogix Consulting (http://www.ologix.com)

  "Yields falsehood when quined" yields falsehood when quined.