[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

comparison of String with Gem::Version failed

pere.noel

9/19/2006 6:08:00 AM

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
2 Answers

Ola Bini

9/19/2006 7:38:00 AM

0

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.bl...)
JvYAML, RbYAML, JRuby and Jatha contributor
System Developer, Karolinska Institutet (http:/...)
OLogix Consulting (http://www....)

"Yields falsehood when quined" yields falsehood when quined.


pere.noel

9/19/2006 8:02:00 AM

0

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

> Until then, just repeat until it works.

fine ! thanxs alot )))
--
une bévue