From: "Booth, Peter" Date: 2002-09-16T11:41:15+09:00 Subject: Syntax errors with webrick 1.2. head of cvs with Div I downloaded and installed drb,erb,div,webrick And am attempting to get the example Div programs to work. I get the following errors. Does anyone know where "etc" should be found and what The problem with the following is: Div/div.rb lines 109-113: def form(method, context) %Q!
\n! + %Q!\n! + %Q!\n! end Errors: C:\apps\workspace\rubyDev\src>ruby -rdebug tofuRunner.rbw Debug.rb Emacs support available. tofuRunner.rbw:1:require 'tofu/tofulet' (rdb:1) c c:/ruby/lib/ruby/site_ruby/1.7/webrick/utils.rb:13: `No such file to load -- etc' (LoadError) [2002-09-15 22:32:12] INFO WEBrick 1.2.2 (2002-09-15) [2002-09-15 22:32:12] INFO ruby 1.7.2 (2002-07-02) [i386-mswin32] [2002-09-15 22:32:12] DEBUG TCPServer.new(127.0.0.1, 2000) ./jmxsession.rb:1: `c:/ruby/lib/ruby/site_ruby/1.7/div/div.rb:105: syntax error %Q!<#{head)} />! ^ c:/ruby/lib/ruby/site_ruby/1.7/div/div.rb:109: nested method definition def form(method, context) ^ c:/ruby/lib/ruby/site_ruby/1.7/div/div.rb:115: nested method definition def href(method, param, context) ^ c:/ruby/lib/ruby/site_ruby/1.7/div/div.rb:126: nested method definition def a(method, param, context) ^ c:/ruby/lib/ruby/site_ruby/1.7/div/div.rb:130: nested method definition def h(s) ^ c:/ruby/lib/ruby/site_ruby/1.7/div/div.rb:134: nested method definition def u(s) ^ c:/ruby/lib/ruby/site_ruby/1.7/div/div.rb:139: syntax error with source code: