From: Thorsten Hater
Date: 2009-09-17T16:49:55+09:00
Subject: Re: scrubyt anyone?
Hi,
which ruby version are you using?
I had (and have) massive problems using 1.9
and scrubyt. I submitted a series of small fixes
to scrubyt on the Google Groups list, but they
don't seem to be in the latest github version.
After those fixes it seems mechanize/nokogiri
does not play well with 1.9 and scrubyt.
Good luck.
Audrey A Lee schrieb:
> Hi,
>
> Are any of you using scrubyt?
>
> Scrubyt has a forum but it seems near death.
>
> But, this mail-list has a good group of very sharp and knowledgeable
> rubyists.
>
> 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!
>
>
|