Ryan Davis wrote:
> On Jan 30, 2010, at 14:35 , Ed Ruder wrote:
> 
>> I had a similar problem, but with a merb gem (merb-slices). Output is 
>> the first chunk, below.
>> 
>> I uninstalled all merb gems (some had 9 versions on my box!) and 'sudo 
>> rdoc_osx_dictionary' seemed to succeed. Output is the second chunk, 
>> below. Unfortunately, though the dictionary shows up in Dictionary.app, 
>> and some Ruby entries show up as I type their names, no definitions are 
>> rendered when I select an entry. Also, the canonical String#split method 
>> doesn't even have an entry, though there are other String# methods ("/", 
>> "blank?", and "camel_case" are the first few).
> 
> rvm? If so, that's the problem.

No, not using rvm. I just had a boatload of previous versions of the 
merb gems installed.

>> <h3>From:</h3><p>merb-slices-1.0.12</p>
>> </d:entry>
> 
> I tracked this down... merb-slices has some asinine code in it that 
> befuddles rdoc. Technically it is a problem with rdoc, but really it is 
> a problem with stupid merb code. Eg:
> 
> % more lib/generators/templates/full/lib/%base_name%.rb
> ...
>   # All Slice code is expected to be namespaced inside a module
>   module <%= module_name %>
> 

Yuck.

> I still can't repro with this combo. I'll try again with those specific 
> versions to make sure I didn't pick up something newer accidentally.

Let me know if there's any info I can provide to help you track this 
down. If I can make the time, I'll give it a go.

Thanks for your efforts, Ryan!

Ed
-- 
Posted via http://www.ruby-forum.com/.