Help : Error in scrubyt

S

Sajjad Seyyed

hi

i have one problem

when i runing the my code will come this erros :

================================
C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_re
quire': no such file to load -- firewatir (LoadError)
from
C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `re
quire'
from
C:/Ruby/lib/ruby/gems/1.8/gems/scrubyt-0.4.06/lib/scrubyt/core/navi
gation/agents/firewatir.rb:2
from
C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `ge
m_original_require'
from
C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `re
quire'
from
C:/Ruby/lib/ruby/gems/1.8/gems/scrubyt-0.4.06/lib/scrubyt.rb:29
from
C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `ge
m_original_require'
from
C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `re
quire'
from Test.rb:2
===============================

this is my code:

==========

$:.unshift File.join(File.dirname(__FILE__), '../../../lib')

require 'scrubyt'
google_data = Scrubyt::Extractor.define do
#Perform the action(s)
fetch 'http://www.google.com/ncr'
fill_textfield 'q', 'ruby'
submit
#Construct the wrapper
link "Ruby Programming Language" do
url "href", :type => :attribute
end
next_page "Next", :limit => 2
end

google_data.to_xml.write($stdout, 1)
Scrubyt::ResultDumper.print_statistics(google_data)






please help me
what is my problem

thank you
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,967
Messages
2,570,148
Members
46,694
Latest member
LetaCadwal

Latest Threads

Top