From: Sajjad Seyyed on 18 Feb 2010 09:56 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 -- Posted via http://www.ruby-forum.com/.
|
Pages: 1 Prev: ruby-prof on windows: strange measured time numbers Next: strings combine |