stewartmckee / cobweb

Web crawler with very flexible crawling options. Can either use standalone or can be used with resque to perform clustered crawls.
MIT License
227 stars 45 forks source link

Error on first run #48

Closed rap2hpoutre closed 8 years ago

rap2hpoutre commented 8 years ago

Running cobweb, I get this:

/Library/Ruby/Gems/2.0.0/gems/cobweb-1.1.0/bin/cobweb:13:in `block in <top (required)>': undefined method `banner' for main:Object (NoMethodError)
    from /Library/Ruby/Gems/2.0.0/gems/slop-4.2.1/lib/slop/options.rb:33:in `initialize'
    from /Library/Ruby/Gems/2.0.0/gems/slop-4.2.1/lib/slop.rb:23:in `new'
    from /Library/Ruby/Gems/2.0.0/gems/slop-4.2.1/lib/slop.rb:23:in `parse'
    from /Library/Ruby/Gems/2.0.0/gems/cobweb-1.1.0/bin/cobweb:12:in `<top (required)>'
    from /usr/local/bin/cobweb:23:in `load'
    from /usr/local/bin/cobweb:23:in `<main>'

I don't know what to do.

stewartmckee commented 8 years ago

Looks like your running slop v4, try running with slop v3 ~>3.4.6, they had breaking changes going from 3 > 4.

rap2hpoutre commented 8 years ago

Ok thanks!