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
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 On 1/31/06, Human Dunnil <h.dunnil@gmail.com> wrote:> 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 > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/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.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-chm-documentation-version-1-0 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