Date: 2011-01-15 04:53
Sender: Stephen Gustafson
Confirming this bug on Gentoo with Ruby 1.8
From what I can tell, here's what seems to be the issue:
RDoc 1.0.1 comes as part of the standard ruby distribtuion
This version of rdoc is ancient, so I've installed the latest
rdoc (3.4) from rubygems.
At this point, since I have the latest rdoc installed, all of
my rdoc caches are generated using the new .ri format that's
not at all compatible with earlier rdoc versions. And ri/rdoc
itself works just fine.
The problem comes in that fastri seems to be avoiding requiring
rubygems in order to get a 100ms speedup. So when fastri requires
rdoc libs, it's loading the ancient rdoc 1.0.1 from the standard
distribution, instead of the rdoc lib from ruby gems. The old
rdoc of course expects .yaml files instead of the new .ri format,
giving us these errors.
So if we're going to skip loading rubygems, it seems like we
need an alternate way of pointing to the correct version of rdoc.
|