hannaとbdoc
bdocとhannaを使ってrubygemsのrdocを快適に閲覧 - pLab blog
やってみた。
$ sudo gem install manalang-bdoc mislav-hanna #hannaを渡すとエラーとなったのでhanna以外を対象として実行。 $ gem list --no-versions | grep -v hanna | sudo xargs hanna --gems $ bdoc
installでエラー
mislav-hannaのrdocでエラーの模様。
Installing ri documentation for mislav-hanna-0.1.11... RDoc failure in lib/rubygems_plugin.rb at or around line 12 column 36 Before reporting this, could you check that the file you're documenting compiles cleanly--RDoc is not a full Ruby parser, and gets confused easily if fed invalid programs. The internal error was: /opt/local/lib/ruby/gems/1.8/gems/rdoc-2.3.0/lib/rdoc/code_objects.rb:411:in `add_require': undefined method `add_require' for nil:NilClass (NoMethodError) from /opt/local/lib/ruby/gems/1.8/gems/rdoc-2.3.0/lib/rdoc/parser/ruby.rb:2321:in `parse_require' from /opt/local/lib/ruby/gems/1.8/gems/rdoc-2.3.0/lib/rdoc/parser/ruby.rb:2455:in `parse_statements' from /opt/local/lib/ruby/gems/1.8/gems/rdoc-2.3.0/lib/rdoc/parser/ruby.rb:2208:in `parse_method'