From t_leitner at gmx.at Wed Aug 4 01:52:24 2010 From: t_leitner at gmx.at (Thomas Leitner) Date: Wed, 4 Aug 2010 07:52:24 +0200 Subject: [webgen-users] no such file to load -- webgen/webgentask In-Reply-To: <4C4725BA.3090402@gmx.at> References: <4C4725BA.3090402@gmx.at> Message-ID: <20100804075224.60bfd985@noweto> On 2010-07-21 18:52 +0200 Michael Franzl wrote: > When I execute `rake` inside of a new webgen-0.5.12 project with > ruby1.8 there is the error > > no such file to load -- webgen/webgentask > /my/dir/Rakefile:11:in `require' Can you try running ruby -rubygems -S rake in the directory with Ruby 1.8? Maybe it is just that rubygems is not loaded and therefore webgen cannot be autoloaded. This would not be a problem under Ruby 1.9 because rubygems is always loaded there. -- Thomas From michaelfranzl at gmx.at Mon Aug 9 04:08:32 2010 From: michaelfranzl at gmx.at (Michael Franzl) Date: Mon, 09 Aug 2010 10:08:32 +0200 Subject: [webgen-users] no such file to load -- webgen/webgentask In-Reply-To: <20100804075224.60bfd985@noweto> References: <4C4725BA.3090402@gmx.at> <20100804075224.60bfd985@noweto> Message-ID: <4C5FB780.8050703@gmx.at> On 08/04/2010 07:52 AM, Thomas Leitner wrote: > Can you try running > > ruby -rubygems -S rake This works without error. But `rake` doesn't with Ruby 1.8. Michael From t_leitner at gmx.at Mon Aug 9 04:49:56 2010 From: t_leitner at gmx.at (Thomas Leitner) Date: Mon, 9 Aug 2010 10:49:56 +0200 Subject: [webgen-users] no such file to load -- webgen/webgentask In-Reply-To: <4C5FB780.8050703@gmx.at> References: <4C4725BA.3090402@gmx.at> <20100804075224.60bfd985@noweto> <4C5FB780.8050703@gmx.at> Message-ID: <20100809104956.545b80ef@noweto> On 2010-08-09 10:08 +0200 Michael Franzl wrote: > On 08/04/2010 07:52 AM, Thomas Leitner wrote: > > Can you try running > > > > ruby -rubygems -S rake > > This works without error. But `rake` doesn't with Ruby 1.8. Since Ruby 1.9 comes with Rubygems preinstalled and in the load path, rake can find the webgen task from the webgen gem without problems. However, Ruby 1.8 does not automatically load rubygems, so you have to do this yourself, either by setting `RUBYOPT=-rubygems` or by using rake like shown above. If you use the version with the environment variable `RUBYOPT`, the webgen task will be found regardless of the Ruby version. -- Thomas From caseiro.philippe at gmail.com Thu Aug 19 03:12:12 2010 From: caseiro.philippe at gmail.com (Puppet_Master) Date: Thu, 19 Aug 2010 00:12:12 -0700 (PDT) Subject: [webgen-users] building basic site with internal links. Message-ID: <56b4e7bd-3b29-4296-b813-59167200a6bc@g17g2000yqe.googlegroups.com> Hello I'm trying to build a basic website with internal links. I use webgen (0.5.14) with ruby 1.8.6 (2010-02-05 patchlevel 399) [i386-linux] and I use webgen (0.5.14) with ruby 1.8.5 (2006-08-25) [x86_64-linux] this is my tree : |-- README |-- Rakefile |-- config.yaml |-- ext | `-- init.rb |-- out | |-- browserfix.css | |-- default.css | `-- index.html |-- src | |-- browserfix.css | |-- default.css | |-- default.template | |-- images | | |-- bodybg.gif | | `-- sidebarbg.gif | |-- index.page | `-- pages | `-- mypage.page `-- webgen.cache my index.page : --- title: Empty Index Page in_menu: true routed_title: New webgen Website --- ## Welcome to *webgen*! This is just a place holder for the start page for your new website! You can start by adjusting the meta information for this page file and adding some real content and then adding some more page files! For more information about webgen have a look at the [documentation]! and take a look to [mypage] ! [documentation]: http://webgen.rubyforge.org/documentation/index.html [mypage]: (/pages/mypage.html) my src/pages/mypage.page : --- title: My page --- ## Yo boy it's my page And this is my error on running webgen -v -l 0 : Starting webgen... Updating tree... ...done in 0.0469 seconds Writing changed nodes... /index.en.html ...done in 0.0607 seconds Updating tree... ...done in 0.0085 seconds Writing changed nodes... /index.en.html ...done in 0.0189 seconds Finished Log messages: INFO -- Log messages for run 1 are following INFO -- Webgen::SourceHandler::Template#templates_for_node: Using default template in language 'en' for INFO -- Webgen::SourceHandler::Template#templates_for_node: Using default template in language 'en' for DEBUG -- Webgen::ContentProcessor::Tags#call: Replacing tag lang with data '' and body '' in DEBUG -- Webgen::ContentProcessor::Tags#call: Replacing tag relocatable with data ' default.css' and body '' in DEBUG -- Webgen::ContentProcessor::Tags#call: Replacing tag relocatable with data ' browserfix.css' and body '' in DEBUG -- Webgen::ContentProcessor::Tags#call: Replacing tag title with data '' and body '' in DEBUG -- Webgen::ContentProcessor::Tags#call: Replacing tag menu with data ' {max_levels: 1, used_nodes: files}' and body '' in ERROR -- Webgen::Tag::Relocatable#resolve_path: Could not resolve path '(/pages/mypage.html)' in INFO -- Log messages for run 2 are following INFO -- Webgen::SourceHandler::Template#templates_for_node: Using default template in language 'en' for INFO -- Webgen::SourceHandler::Template#templates_for_node: Using default template in language 'en' for DEBUG -- Webgen::ContentProcessor::Tags#call: Replacing tag lang with data '' and body '' in DEBUG -- Webgen::ContentProcessor::Tags#call: Replacing tag relocatable with data ' default.css' and body '' in DEBUG -- Webgen::ContentProcessor::Tags#call: Replacing tag relocatable with data ' browserfix.css' and body '' in DEBUG -- Webgen::ContentProcessor::Tags#call: Replacing tag title with data '' and body '' in DEBUG -- Webgen::ContentProcessor::Tags#call: Replacing tag menu with data ' {max_levels: 1, used_nodes: files}' and body '' in ERROR -- Webgen::Tag::Relocatable#resolve_path: Could not resolve path '(/pages/mypage.html)' in Thanks for you help. From t_leitner at gmx.at Mon Aug 23 05:20:35 2010 From: t_leitner at gmx.at (Thomas Leitner) Date: Mon, 23 Aug 2010 11:20:35 +0200 Subject: [webgen-users] building basic site with internal links. In-Reply-To: <56b4e7bd-3b29-4296-b813-59167200a6bc@g17g2000yqe.googlegroups.com> References: <56b4e7bd-3b29-4296-b813-59167200a6bc@g17g2000yqe.googlegroups.com> Message-ID: <20100823112035.3df91ad6@noweto> On 2010-08-19 00:12 -0700 Puppet_Master wrote: > and take a look to [mypage] ! > > [documentation]: http://webgen.rubyforge.org/documentation/index.html > [mypage]: (/pages/mypage.html) You need to write: [mypage]: /pages/mypage.html Then it will work. -- Thomas From caseiro.philippe at gmail.com Tue Aug 24 04:12:54 2010 From: caseiro.philippe at gmail.com (Puppet_Master) Date: Tue, 24 Aug 2010 01:12:54 -0700 (PDT) Subject: [webgen-users] building basic site with internal links. In-Reply-To: <20100823112035.3df91ad6@noweto> References: <56b4e7bd-3b29-4296-b813-59167200a6bc@g17g2000yqe.googlegroups.com> <20100823112035.3df91ad6@noweto> Message-ID: hello Thanks for you answer. I have exactly the same error with [mypage]: /pages/mypage.html I never saw on debug message when my "/pages" files are parsed is this normal ? Thanks for your help. -- Philippe Caseiro On 23 ao?t, 11:20, Thomas Leitner wrote: > On 2010-08-19 00:12 -0700 Puppet_Master wrote: > > > and take a look to [mypage] ! > > > [documentation]:http://webgen.rubyforge.org/documentation/index.html > > [mypage]: (/pages/mypage.html) > > You need to write: > > ? ? [mypage]: /pages/mypage.html > > Then it will work. > > -- Thomas > _______________________________________________ > webgen-users mailing list > webgen-us... at rubyforge.orghttp://rubyforge.org/mailman/listinfo/webgen-users From caseiro.philippe at gmail.com Tue Aug 24 04:30:06 2010 From: caseiro.philippe at gmail.com (Puppet_Master) Date: Tue, 24 Aug 2010 01:30:06 -0700 (PDT) Subject: [webgen-users] building basic site with internal links. In-Reply-To: <20100823112035.3df91ad6@noweto> References: <56b4e7bd-3b29-4296-b813-59167200a6bc@g17g2000yqe.googlegroups.com> <20100823112035.3df91ad6@noweto> Message-ID: <33ca857f-d2d0-4bb2-9491-1fc5fa8f3625@x21g2000yqa.googlegroups.com> I don't know if it helps but when a use this : webgen create -b default -b style-andreas04 mywebsite and I run webgen in mywebsite directory the provided website don't show images and no images are copied to "out" directory. On 23 ao?t, 11:20, Thomas Leitner wrote: > On 2010-08-19 00:12 -0700 Puppet_Master wrote: > > > and take a look to [mypage] ! > > > [documentation]:http://webgen.rubyforge.org/documentation/index.html > > [mypage]: (/pages/mypage.html) > > You need to write: > > ? ? [mypage]: /pages/mypage.html > > Then it will work. > > -- Thomas > _______________________________________________ > webgen-users mailing list > webgen-us... at rubyforge.orghttp://rubyforge.org/mailman/listinfo/webgen-users