From: brabuhr@... Date: 2010-12-18T12:09:13+09:00 Subject: Re: Still get this RDoc error using HTML On Fri, Dec 17, 2010 at 9:32 PM, Intransition wrote: > It occurs in 1.8.7 and 1.9.2. > > $ ri -f html String > /home/trans/.rvm/gems/ruby-1.9.2-p0/gems/rdoc-2.5.11/lib/rdoc/markup/ > to_html.rb:192:in `accept_rule': undefined method `>' for nil:NilClass > (NoMethodError) ruby 1.8.7 (2009-06-12 patchlevel 174) [universal-darwin10.0] Class: String
... ruby 1.9.2p0 (2010-08-18 revision 29036) [x86_64-darwin10.4.0] :in `accept_rule': undefined method `>' for nil:NilClass (NoMethodError) Adding an "|| 0" on the end of line 191 at least gets it to spit out html; but, I didn't look any deeper to see where the rule's with nil weight came from: # # # :in `accept_rule': undefined method `>' for nil:NilClass (NoMethodError)