After installing yard, neither gem install nor gem rdoc is able to install rdoc or ri, even when specifying --rdoc or --ri. I imagine that this is not intentional, but maybe I'm missing something.
I tracked the problem down to the fact that the overridden setup/install methods in lib/yard/rubygems/doc_manager.rb is actually more restrictive than the original rubygems version.
I've created a fix that also retains the behavior where has_yardoc? == true inhibits rdoc generation, and tested that the yri, ri, and rdoc are all being generated again by gem update/install/rdoc. I also tested that yardoc is still generated instead of rdoc when has_yardoc? == true.
After installing yard, neither
gem install
norgem rdoc
is able to install rdoc or ri, even when specifying --rdoc or --ri. I imagine that this is not intentional, but maybe I'm missing something.I tracked the problem down to the fact that the overridden setup/install methods in lib/yard/rubygems/doc_manager.rb is actually more restrictive than the original rubygems version.
I've created a fix that also retains the behavior where
has_yardoc? == true
inhibits rdoc generation, and tested that the yri, ri, and rdoc are all being generated again bygem update/install/rdoc
. I also tested that yardoc is still generated instead of rdoc whenhas_yardoc? == true
.Please me know what you think.