Home > Enterprise >  How to use Nikkou (newbie Ruby question!)
How to use Nikkou (newbie Ruby question!)

Time:07-24

I'm trying to use Nikkou in a Ruby/Rails class but I don't fully understand the very basics. The Nikkou documentation suggests that you just need to add the gem to the Gemfile and you're away... but I can't make any of the Nikkou additions to Nokogiri work for me.

NoMethodError (undefined method `text_includes' for #<Nokogiri::XML::Document:0x00007fe718540a90>):`

There must be some step I'm missing that's so obvious it isn't even mentioned in the documentation. Can anybody enlighten me?

CodePudding user response:

You need to do

require 'nikkou'
  • Related