[lnkForumImage]
TotalShareware - Download Free Software

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


 

Forums >

comp.lang.ruby

Rubygem's gemri broken?

gga

1/17/2007 10:12:00 PM

> gem -v
0.9.0

> gemri String
/usr/lib/ruby/1.8/rdoc/ri/ri_descriptions.rb:99:in `concat': can't
convert nil into Array (TypeError)
from /usr/lib/ruby/1.8/rdoc/ri/ri_descriptions.rb:99:in
`merge_in'
from /usr/lib/ruby/1.8/rdoc/ri/ri_reader.rb:56:in `get_class'
from /usr/lib/ruby/1.8/rdoc/ri/ri_reader.rb:52:in `get_class'
from /usr/lib/ruby/1.8/rdoc/ri/ri_driver.rb:70:in
`report_class_stuff'
from /usr/lib/ruby/1.8/rdoc/ri/ri_driver.rb:106:in
`get_info_for'
from /usr/lib/ruby/1.8/rdoc/ri/ri_driver.rb:135:in
`process_args'
from /usr/lib/ruby/1.8/rdoc/ri/ri_driver.rb:134:in
`process_args'
from /usr/bin/gemri:24

> gemri Hoe
[snip] OK

> ri String
[snip] OK

4 Answers

Eric Hodel

1/18/2007 2:43:00 AM

0

On Jan 17, 2007, at 14:15, gga wrote:

>> gem -v
> 0.9.0

Please try with 0.9.1.

If you're using ruby 1.8.5 (and possibly 1.8.4) you can just ignore
gemri.

--
Eric Hodel - drbrain@segment7.net - http://blog.se...

I LIT YOUR GEM ON FIRE!


gga

1/18/2007 10:33:00 PM

0


Eric Hodel wrote:
> On Jan 17, 2007, at 14:15, gga wrote:
>
> >> gem -v
> > 0.9.0
>
> Please try with 0.9.1.

Same error.

>
> If you're using ruby 1.8.5 (and possibly 1.8.4) you can just ignore
> gemri.
>

How? ri does not find the docs to gems.

Eric Hodel

1/20/2007 1:00:00 AM

0

On Jan 18, 2007, at 14:35, gga wrote:
> Eric Hodel wrote:
>> On Jan 17, 2007, at 14:15, gga wrote:
>>
>>>> gem -v
>>> 0.9.0
>>
>> Please try with 0.9.1.
>
> Same error.

ok, please file a bug.

http://rubyforge.org/tracker/?atid=575&group_id=126&f...

>>
>> If you're using ruby 1.8.5 (and possibly 1.8.4) you can just ignore
>> gemri.
>>
>
> How? ri does not find the docs to gems.

Lies. (Unless you're using ruby 1.8.5.)

$ ri ZenTest
--------------------------------------------------------- Class: ZenTest
ZenTest scans your target and unit-test code and writes your
missing code based on simple naming rules, enabling XP at a much
quicker pace. ZenTest only works with Ruby and Test::Unit.


--
Eric Hodel - drbrain@segment7.net - http://blog.se...

I LIT YOUR GEM ON FIRE!


Eric Hodel

1/20/2007 7:51:00 AM

0

On Jan 19, 2007, at 16:59, Eric Hodel wrote:
> On Jan 18, 2007, at 14:35, gga wrote:
>> Eric Hodel wrote:
>>> If you're using ruby 1.8.5 (and possibly 1.8.4) you can just ignore
>>> gemri.
>>
>> How? ri does not find the docs to gems.
>
> Lies. (Unless you're using ruby 1.8.5.)

Sorry, ruby older than 1.8.5.

--
Eric Hodel - drbrain@segment7.net - http://blog.se...

I LIT YOUR GEM ON FIRE!