Hello! I’m trying to get nokogiri up and running…
It seems that the gem has been installed as it should inside my .gems directory…
Now… this is what I try using irb…
irb(main):001:0> require ‘/home//.gems/gems/nokogiri-1.4.0/lib/nokogiri/nokogiri’
irb(main):002:0> require ‘open-uri’
irb(main):003:0> doc = Nokogiri::HTML(open(‘http://www.google.com/search?q=tenderlove’))
NoMethodError: undefined method `HTML’ for Nokogiri:Module
As you can see… the requirements are met.
But when it comes to define the method it fails.
Any ideas why?
Thanks for your help