[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Rdoc: unknown tag: sections ?

Nate Murray

1/5/2007 4:57:00 PM

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

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:in
`write_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:in
`gen_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?

1 Answer

Nate Murray

1/5/2007 5:24:00 PM

0

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


Nate Murray wrote:
> Hey All. Trying to use jamis buck's template for rdoc (
> http://svn.jamisbuck.org/rdoc-template... ).
>
> 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:in
> `write_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:in
> `gen_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?