Hi, I''d like to have documentation offline and for this reason I
followed the instructions on webgen site, but with no success. This is
the error I get:
C:\Ruby186\lib\ruby\gems\1.8\gems\webgen-0.5.14>rake htmldoc
(in C:/Ruby186/lib/ruby/gems/1.8/gems/webgen-0.5.14)
C:/Ruby186/lib/ruby/gems/1.8/gems/rdoc-2.5.11/lib/rdoc/ruby_lex.rb:67:
warning:
parenthesize argument(s) for future version
NO RELEASE NOTES/CHANGES FILE
Starting webgen...
Updating tree...
rake aborted!
Error while creating a node from </website_styles/style-1024px/> with
Webgen::So
urceHandler::Directory:
The needed parent path </website_styles/> does not exist
(See full trace by running task with --trace)
This is the output if I run rake with trace option:
C:\Ruby186\lib\ruby\gems\1.8\gems\webgen-0.5.14>rake htmldoc --trace
(in C:/Ruby186/lib/ruby/gems/1.8/gems/webgen-0.5.14)
C:/Ruby186/lib/ruby/gems/1.8/gems/rdoc-2.5.11/lib/rdoc/ruby_lex.rb:67:
warning:
parenthesize argument(s) for future version
NO RELEASE NOTES/CHANGES FILE
** Invoke htmldoc (first_time)
** Execute htmldoc
Starting webgen...
Updating tree...
rake aborted!
Error while creating a node from </website_styles/style-1024px/> with
Webgen::So
urceHandler::Directory:
The needed parent path </website_styles/> does not exist
./lib/webgen/sourcehandler/base.rb:274:in `parent_node''
./lib/webgen/sourcehandler/base.rb:222:in `create_node''
./lib/webgen/sourcehandler.rb:241:in `create_nodes''
./lib/webgen/sourcehandler.rb:222:in `create_nodes_from_paths''
./lib/webgen/sourcehandler.rb:218:in `each''
./lib/webgen/sourcehandler.rb:218:in `create_nodes_from_paths''
./lib/webgen/sourcehandler.rb:215:in `each''
./lib/webgen/sourcehandler.rb:215:in `create_nodes_from_paths''
./lib/webgen/sourcehandler.rb:214:in `each''
./lib/webgen/sourcehandler.rb:214:in `create_nodes_from_paths''
./lib/webgen/sourcehandler.rb:136:in `update_tree''
./lib/webgen/sourcehandler.rb:61:in `render''
C:/Ruby186/lib/ruby/1.8/benchmark.rb:293:in `measure''
./lib/webgen/sourcehandler.rb:59:in `render''
./lib/webgen/website.rb:275:in `render''
./lib/webgen/website.rb:316:in `execute_in_env''
./lib/webgen/website.rb:270:in `render''
./lib/webgen/webgentask.rb:136:in `define''
C:/Ruby186/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `call''
C:/Ruby186/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in
`execute''
C:/Ruby186/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `each''
C:/Ruby186/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in
`execute''
C:/Ruby186/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:597:in
`invoke_with_cal
l_chain''
C:/Ruby186/lib/ruby/1.8/monitor.rb:242:in `synchronize''
C:/Ruby186/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in
`invoke_with_cal
l_chain''
C:/Ruby186/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:583:in
`invoke''
C:/Ruby186/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2051:in
`invoke_task''
C:/Ruby186/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in
`top_level''
C:/Ruby186/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in
`each''
C:/Ruby186/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in
`top_level''
C:/Ruby186/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in
`standard_excep
tion_handling''
C:/Ruby186/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2023:in
`top_level''
C:/Ruby186/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2001:in `run''
C:/Ruby186/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in
`standard_excep
tion_handling''
C:/Ruby186/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in `run''
C:/Ruby186/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31
C:/Ruby186/bin/rake:19:in `load''
C:/Ruby186/bin/rake:19
Is there a way to fix this? I''m new to ruby, so excuse me for the dumb
question!
Thanks,
best regards.