Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

ruby_quiz_189.rb gives exception

#26

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 methodinclude?' 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!

Reported by Audrey Lee · September 16th, 2009 @ 11:32 PM

State: new
Milestone: none
Assigned to: nobody

Activity

No comments yet.

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.