comparison of String with Gem::Version failed

U

Une bévue

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 ?
 
O

Ola Bini

Une said:
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,053
Latest member
BrodieSola

Latest Threads

Top