Hi,
Can anybody help me with the following issue?
I get this error:
>ruby test.rb
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require': no such file to load -- scrubyt (LoadError)
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
from test.rb:2
>Exit code: 1
I'm using this code:
require 'rubygems'
require 'scrubyt'
data = Scrubyt::Extractor.define do
fetch 'http://www.google.com'
title '//head/title'
end
data.to_xml.write($stdout, 1)
Scrubyt::ResultDumper.print_statistics(data)
|