You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 3, 2020. It is now read-only.
The command to generate gem docs for all installed gems, hanna --gems, fails on 1.9.2 since hanna tries to document rdoc, rake and minitest, which don't behave as normal gems. Example session on a freshly compiled Ruby (no gems installed):
marvin@ikarus:~$ sudo gem install --no-rdoc hanna
Successfully installed rdoc-2.3.0
Successfully installed haml-2.2.24
Successfully installed hanna-0.1.12
3 gems installed
Installing ri documentation for rdoc-2.3.0...
Installing ri documentation for haml-2.2.24...
Installing ri documentation for hanna-0.1.12...
marvin@ikarus:~$ sudo hanna --gems
Hanna is installing documentation for 5 gems ...
Installing RDoc documentation for hanna-0.1.12...
Installing RDoc documentation for haml-2.2.24...
Could not find main page README.rdoc
Installing RDoc documentation for minitest-1.6.0...
/opt/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/rubygems/doc_manager.rb:182:in `chdir': No such file or directory - /opt/rubies/ruby-1.9.2-p0/lib/ruby/gems/1.9.1/gems/minitest-1.6.0 (Errno::ENOENT)
from /opt/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/rubygems/doc_manager.rb:182:in `run_rdoc'
from /opt/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/rubygems/doc_manager.rb:144:in `install_rdoc'
from /opt/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/rubygems/doc_manager.rb:130:in `generate_rdoc'
from /opt/rubies/ruby-1.9.2-p0/lib/ruby/gems/1.9.1/gems/hanna-0.1.12/bin/hanna:74:in `block in <top (required)>'
from /opt/rubies/ruby-1.9.2-p0/lib/ruby/gems/1.9.1/gems/hanna-0.1.12/bin/hanna:73:in `each'
from /opt/rubies/ruby-1.9.2-p0/lib/ruby/gems/1.9.1/gems/hanna-0.1.12/bin/hanna:73:in `<top (required)>'
from /opt/rubies/ruby-1.9.2-p0/bin/hanna:19:in `load'
from /opt/rubies/ruby-1.9.2-p0/bin/hanna:19:in `<main>'
marvin@ikarus:~$ gem list
*** LOCAL GEMS ***
haml (2.2.24)
hanna (0.1.12)
minitest (1.6.0)
rake (0.8.7)
rdoc (2.5.8, 2.3.0)
marvin@ikarus:~$
The command to generate gem docs for all installed gems,
hanna --gems, fails on 1.9.2 since hanna tries to document rdoc, rake and minitest, which don't behave as normal gems. Example session on a freshly compiled Ruby (no gems installed):ruby -v:
ruby 1.9.2p0 (2010-08-18 revision 29036) [x86_64-linux]Marvin