Comparison of String with Gem::Version failed

using gem list -r, that's the first time i got an error :

ERROR: While executing gem ... (ArgumentError)
    comparison of String with Gem::Version failed

with :

gem --version

0.9.0

ruby --version

ruby 1.8.4 (2005-12-24) [powerpc-darwin8.7.0]

over Mac OS X 10.4.7

does anyone got the same error ?

found a workaround ?

···

--
une bévue

Une bévue wrote:

using gem list -r, that's the first time i got an error :

ERROR: While executing gem ... (ArgumentError)
    comparison of String with Gem::Version failed

with :

gem --version

0.9.0

ruby --version

ruby 1.8.4 (2005-12-24) [powerpc-darwin8.7.0]

over Mac OS X 10.4.7

does anyone got the same error ?

found a workaround ?

This is a long time bug in RubyGems, due to bad ==-implementations and differences in Hashing-algorithms between the platforms. Just yesterday Jim Weirich posted a fix to the RubyGems-dev-list, so it will be in the next release. Until then, just repeat until it works.

···

--
  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.

fine ! thanxs alot )))

···

Ola Bini <ola.bini@ki.se> wrote:

Until then, just repeat until it works.

--
une bévue