trying to require nokogiri

T

Ted Flethuseo

Hi everyone,

I have installed nokogiri for parsing
and html document but I get an error when I
require it. It doesn't find it.

LoadError: no such file to load =E2=80=94 nokogiri

method require in test21.rb at line 1
at top level in test21.rb at line 1

but I do have the gem installed, I am not
sure why it isn't finding it.

gem list | grep nokogiri
nokogiri (1.4.4)

Any help appreciated.

Ted.

-- =

Posted via http://www.ruby-forum.com/.=
 
H

Hassan Schroeder

I have installed nokogiri for parsing
and html document but I get an error when I
require it. It doesn't find it.
method require =A0in test21.rb at line 1

require 'rubygems'
require 'nokogiri'

--=20
Hassan Schroeder ------------------------ (e-mail address removed)
twitter: @hassan
 
T

Ted Flethuseo

Hmm. Thanks that was easy.. I have never had to do that before
for the other gems I have installed.

Hassan Schroeder wrote in post #989415:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,583
Members
45,074
Latest member
StanleyFra

Latest Threads

Top