robertseaton / bkz

What should you read? bkz knows.
3 stars 1 forks source link

amazon_search #1

Closed lettergram closed 11 years ago

lettergram commented 11 years ago

Currently, I am receiving this error:

issue

lettergram commented 11 years ago

I am guessing this is because when I run the geturl function in amazon.rb it brings me to a search page as opposed to a single page.

robertseaton commented 11 years ago

geturl() is supposed to take you to a search page. It then navigates to the page of the first result. This runs fine on both my Linux box and my OS X box, so I'm not sure what is going wrong.

[rps@britain bkz]$ ruby bkz.rb --title "Blackwater"
WARNING: Nokogiri was built against LibXML version 2.8.0, but has dynamically loaded 2.9.1
Is this the title of your book: Tropical blackwater rivers, animals, and mast fruiting by the Dipterocarpaceae? [y/n]
n
lettergram commented 11 years ago

Found it, nokogiri requires ruby >1.9 and the version I downloaded was 1.8, my bad.