that did the trick!


but now i get this error:

===
/usr/lib/ruby/gems/1.8/gems/hpricot-0.6/lib/hpricot/builder.rb:11: 
warning: `&' interpreted as argument prefix
(eval):2: warning: instance variable @is_simple_type not initialized
(eval):2: warning: instance variable @is_simple_type not initialized
(eval):2: warning: instance variable @is_simple_type not initialized
(eval):2: warning: instance variable @is_simple_type not initialized
(eval):2: warning: instance variable @is_pointer_type not initialized
(eval):2: warning: instance variable @is_pointer_type not initialized
(eval):2: warning: instance variable @is_pointer_type not initialized
(eval):2: warning: instance variable @is_simple_type not initialized
(eval):2: warning: instance variable @is_simple_type not initialized
(eval):2: warning: instance variable @is_pointer_type not initialized
(eval):2: warning: instance variable @is_simple_type not initialized
(eval):2: warning: instance variable @is_simple_type not initialized
/cygdrive/c/Documents and Settings/pood is insecure (40770). It may not 
be group or world writable. Exiting.
and so on...

===

when trying to run this:

===require 'rubygems'
require 'scrubyt'

google_data = Scrubyt::Extractor.define do
  fetch          'http://www.google.com/ncr'
  fill_textfield 'q', 'ruby'
  submit

  result 'Ruby Programming Language'
end

google_data.to_xml.write($stdout, 1)
Scrubyt::ResultDumper.print_statistics(google_data)
===
-- 
Posted via http://www.ruby-forum.com/.