rdoc-osa blows up generating docs for Apps on rdoc 2.4.3, Leopard 10.5.7, ruby 1.8.6...
Where <AppName> is something like iTunes...
<code>
#> rdoc-osa --name <AppName>
/Library/Ruby/Gems/1.8/gems/rubyosa-0.4.0/lib/rbosa.rb:470: warning: Passing no parameters to XML::Parser.new is deprecated.
Pass an instance of XML::Parser::Context instead.
XML::Parser#string is deprecated. Use XML::Parser.string instead
Parsing sources with 2 thread(s)...
100% [ 1/ 1] .../folders/mZ/mZVEDyA5FOWgOem4qePNZU+++TM/-Tmp-/iTunes-0-16579.rb
Generating Darkfish...
uh-oh! RDoc had a problem:
could not find template "/Library/Ruby/Gems/1.8/gems/rubyosa-0.4.0/data/rubyosa/rdoc_html.rb"
run with --debug for full backtrace
Error when executing `rdoc --template '/Library/Ruby/Gems/1.8/gems/rubyosa-0.4.0/data/rubyosa/rdoc_html.rb' --title
'iTunes RubyOSA API' --main OSA "/var/folders/mZ/mZVEDyA5FOWgOem4qePNZU+++TM/-Tmp-/iTunes-0-16579.rb"' : 256
</code>
Workaround is to note the temp file, and call rdoc manually, eg.
<code.
#> rmdir ./doc
#> rdoc --title '<AppName> RubyOSA API' --main OSA <fullpathtotempfile> |