Rdoc: unknown tag: sections?


#1

Hey All. Trying to use jamis buck’s template for rdoc (
http://svn.jamisbuck.org/rdoc-templates/jamis.rb ).

Rdoc runs fine with no errors when I try to use the standard “html”
template. However if I use jamis.rb it says:


Generating HTML…
rake aborted!
unknown tag: sections
/usr/local/lib/ruby/site_ruby/1.8/rdoc/template.rb:183:in
substitute_into' /usr/local/lib/ruby/site_ruby/1.8/rdoc/template.rb:146:inwrite_html_on’
/usr/local/lib/ruby/site_ruby/1.8/rdoc/generators/html_generator.rb:763:in
write_on' /usr/local/lib/ruby/site_ruby/1.8/rdoc/generators/html_generator.rb:1170:ingen_into’
/usr/local/lib/ruby/site_ruby/1.8/rdoc/generators/html_generator.rb:1170:in
`gen_into’
… # more

I’ve poked around at the code for a while and wasn’t able to figure it
out. Has anyone encountered this or have any ideas on how to fix it?


#2

I figured out my problem. I had an older version of rdoc. Once I
upgraded to ruby 1.8.5 this issue was resolved.