Hi,
I have problem generating chm file for the rails doc.
I’ve commaned the rdoc to generate the chm by:
rdoc -f chm -o chm_folder action* rails-*
It gave me the following error:
vendor/rails/railties/lib/rails_generator/generators/components/controller/templates/controller.rb:3:15:
Expected class name or ‘<<’. G
ot RubyToken::TkLT: “<”
By adding .document error has gone and I’ve reached the Generating
CHM…, but another error raised:
c:/ruby/lib/ruby/1.8/rdoc/generators/html_generator.rb:1286:in
`initialize’: Invalid argument - classes/<.html (Errno::EINVAL)
I’m running ruby ruby 1.8.2 (2004-12-25) [i386-mswin32] on Win XP SP2
and latest version of rails.
I’m having the exact same problem on OSX.4 running rdoc -f html -o
html_folder rails-* action*. How did .document get you past this?
I’m not sure where you added that.
I’m having the exact same problem on OSX.4 running rdoc -f html -o
html_folder rails-* action*. How did .document get you past this?
I’m not sure where you added that.
Don’t know if either of you saw, but I was able to get the CHM file
created and I made it available a couple weeks ago. Here are the urls: