ruby_quiz_189.rb gives exception
Reported by Audrey Lee | September 16th, 2009 @ 11:32 PM
I have installed the scrubyt demos:
- git clone git://github.com/scrubber/scrubyt_examples.git
I tried this one:
$ ruby ruby_quiz_189.rb
/pt/r1/lib/ruby/gems/1.8/gems/scrubyt-0.4.1/lib/scrubyt/core/scraping/filters/download_filter.rb:19:in
download_file': undefined method
include?' for
nil:NilClass (NoMethodError)
from /pt/r1/lib/ruby/gems/1.8/gems/scrubyt-0.4.1/lib/scrubyt/core/scraping/filters/download_filter.rb:8:in
evaluate'
from /pt/r1/lib/ruby/gems/1.8/gems/scrubyt-0.4.1/lib/scrubyt/core/scraping/pattern.rb:250:in
evaluate'
I'd welcome any hints on how to debug ruby_quiz_189.rb so it will run.
scrubyt depends on some other gems:
hpricot
mechanize
Here is what I have:
$ gem list hpricot
LOCAL GEMS
hpricot (0.6.164)
$ gem list mechanize
LOCAL GEMS
mechanize (0.9.3)
Thanks!
No comments found
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
A simple to learn and use, yet powerful web scraping toolkit written in Ruby.