Forum: Ruby on Rails Problem generating CHM Rails doc

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
7595ff5e64d9a309c29932d106959973?d=identicon&s=25 Human Dunnil (Guest)
on 2006-01-31 23:54
(Received via mailing list)
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.

What may be the problem?

Thanks in advance,
- H
D11795409b2aa96e7ff87aad27ef60dd?d=identicon&s=25 Tim Ryan (Guest)
on 2006-02-15 01:34
(Received via mailing list)
Human,

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.

Thanks,

Tim
81279142caec7e29150fced7f916da62?d=identicon&s=25 DeLynn Berry (Guest)
on 2006-02-15 01:40
(Received via mailing list)
> 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:

Blog Entry:
http://delynnberry.com/articles/2006/02/07/rails-c...
Dedicated Page: http://delynnberry.com/pages/rails-chm-documentation/

I'm going to be posting an article detailing how to create the CHM
file, but it probably won't be until later this week. Hope this helps.

--
DeLynn Berry
delynn@gmail.com
http://www.delynnberry.com
This topic is locked and can not be replied to.