Problem with 'gem: "hoe < 2.9.0"' in orocos.osdeps

The subject's line in the osdeps file causes this output on karmic
(ruby gems 1.3.7):

$ gem1.8 install hoe -v "< 2.9.0"
ERROR: While executing gem ... (TypeError)
incompatible marshal file format (can't be read)
format version 4.8 required; 0.0 given

While writing

$ gem1.8 install hoe -v 2.8.0
Successfully installed hoe-2.8.0
1 gem installed
Installing ri documentation for hoe-2.8.0...
Installing RDoc documentation for hoe-2.8.0...

Works flawlessly. I would suggest to update the orocos.osdeps file
such that it says gem: "hoe 2.8.0"

OK ?

Peter

Problem with 'gem: "hoe < 2.9.0"' in orocos.osdeps

On 05/26/2011 10:19 PM, Peter Soetens wrote:
> The subject's line in the osdeps file causes this output on karmic
> (ruby gems 1.3.7):
>
> $ gem1.8 install hoe -v "< 2.9.0"
> ERROR: While executing gem ... (TypeError)
> incompatible marshal file format (can't be read)
> format version 4.8 required; 0.0 given
>
> While writing
>
> $ gem1.8 install hoe -v 2.8.0
> Successfully installed hoe-2.8.0
> 1 gem installed
> Installing ri documentation for hoe-2.8.0...
> Installing RDoc documentation for hoe-2.8.0...
>
> Works flawlessly. I would suggest to update the orocos.osdeps file
> such that it says gem: "hoe 2.8.0"
>
> OK ?
Sounds OK to me.

This is weird though ... The "< 2.9.0" specification was there for quite
a while. I fear that the problem comes from rubygems, i.e. that the
rubygems server starts to need a more recent version. It did happen
before. This is worrying.

In the long run, I'll have to make sure that more recent hoe version
work as well.

Sylvain