I am fairly new to ruby so pleae help me. I am getting the
“gem_orginal_require” error.
Here is what I have.
The following gems installed:
*** LOCAL GEMS ***
activerecord (1.15.3)
Implements the ActiveRecord pattern for ORM.
activesupport (1.4.2)
Support and utility classes used by the Rails framework.
fastthread (1.0)
Optimized replacement for thread.rb primitives
hoe (1.2.1)
Hoe is a way to write Rakefiles much easier and cleaner.
hpricot (0.6)
a swift, liberal HTML parser with a fantastic library
mechanize (0.6.9)
Mechanize provides automated web-browsing
rake (0.7.3)
Ruby based make-like utility.
rubyforge (0.4.2)
A simplistic script which automates a limited set of rubyforge
operations
scrubyt (0.3.0)
A powerful Web-scraping framework
sources (0.0.1)
This package provides download sources for remote gem installatio
The version of ruby installed: ruby 1.8.6 (2007-03-13 patchlevel 0)
[i686-linux]
And here is the script I am trying to run
#!/usr/bin/ruby
require ‘rubygems’
require ‘scrubyt’
google_data = Scrubyt::Extractor.define do
fetch ‘Google’
fill_textfield ‘q’, ‘ruby’
submit
result ‘Ruby P.ming Language’
end
google_data.to_xml.write($stdout, 1)
Scrubyt::ResultDumper.print_statistics(google_data)
And finally the errors I get:
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
gem_original_require': no such file to load -- parse_tree_reloaded (LoadError) from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
require’
from /usr/lib/ruby/gems/1.8/gems/scrubyt-0.3.0/lib/scrubyt.rb:9
from
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in
gem_original_require' from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in
require’
from ./test.rb:4
Any help would be appreciated.