From: Chad Fowler Date: 2001-12-28T12:54:37+09:00 Subject: [ruby-talk:29511] Re: Problem with require 'nqxml/treeparser' Brian Button wrote: > I actually found this problem trying to include something out of > webunit, but I made an even smaller test case that can fail. > > When I require 'nqxml/treeparser', either through irb or through a > simple .rb file, I get this error: > > SyntaxError: /usr/local/lib/site_ruby/1.6/nqxml/tokenizer.rb:422: unterminated string meets end of file > /usr/local/lib/site_ruby/1.6/nqxml/tokenizer.rb:422: parse error > from /usr/local/lib/site_ruby/1.6/nqxml/parser.rb:9:in `require' > from /usr/local/lib/site_ruby/1.6/nqxml/parser.rb:9 > from /usr/local/lib/site_ruby/1.6/nqxml/treeparser.rb:8:in `require' > from /usr/local/lib/site_ruby/1.6/nqxml/treeparser.rb:8 > from (irb):2:in `require' > from (irb):2 > > Any ideas? I'm running ruby 1.6.5 on Debian Woody. > Brian, what NQXML version do you have installed? You could also try doing: ruby -c /usr/local/lib/site_ruby/1.6/nqxml/tokenizer.rb. What's on line 422 of that file? Chad