RDoc --template error

J

Jim Menard

When I try

rdoc --template one_page_html.rb talk.rdoc

I see the error

/usr/local/lib/ruby/1.9/rdoc/generators/html_generator.rb:1134:in
`write_style_sheet': uninitialized constant RDoc::page::STYLE
(NameError)
from
/usr/local/lib/ruby/1.9/rdoc/generators/html_generator.rb:1104:in
`generate'
from /usr/local/lib/ruby/1.9/rdoc/rdoc.rb:269:in `document'
from /usr/local/bin/rdoc:63

Am I doing something wrong? I'm using the latest and greatest RDoc and
Ruby from CVS.

Jim
 
D

Dave Thomas

When I try

rdoc --template one_page_html.rb talk.rdoc

one_page_html is now a support file that shouldn't be required
directly. Instead, use the -1 option (or say --one-file)


Cheers

Dave
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,772
Messages
2,569,593
Members
45,108
Latest member
AlbertEste
Top