IRB can't require "nokogiri"

Not able to require "nokogiri":

C:\Documents and Settings>gem list --local

*** LOCAL GEMS ***

addressable (2.3.2)
bigdecimal (1.1.0)
builder (3.1.4)
bundler (1.2.3)
childprocess (0.3.6)
domain_name (0.5.7)
ffi (1.3.1 x86-mingw32)
git (1.2.5)
hoe (3.4.1)
httpclient (2.3.2)
io-console (0.3)
jar_wrapper (0.1.2)
jeweler (1.8.4)
json (1.5.4)
libwebsocket (0.1.7.1)
mechanize (2.5.1)
mechanize-downloader (0.0.1)
mime-types (1.19)
mini_magick (3.2.1)
minitest (2.5.1)
multi_json (1.5.0)
net-http-digest_auth (1.2.1)
net-http-persistent (2.8)
nokogiri (1.5.6 x86-mingw32)
ntlm-http (0.1.1)
progressbar (0.12.0)
rake (0.9.2.2)
rautomation (0.7.3)
rdoc (3.9.4)
rubyzip (0.9.9)
s4t-utils (1.0.4)
selenium (0.2.5)
selenium-webdriver (2.30.0, 2.27.2)
subexec (0.0.4)
unf (0.0.5)
unf_ext (0.0.5 x86-mingw32)
user-choices (1.1.6.1)
watir-classic (3.4.0)
watir-webdriver (0.6.2)
webrobots (0.0.13)
websocket (1.0.6)
win32-api (1.4.8 x86-mingw32)
win32-process (0.7.1)
win32screenshot (1.0.7)
windows-api (0.4.2)
windows-pr (1.2.2)
xml-simple (1.1.2)
zip (2.0.2)

C:\Documents and Settings>irb
irb(main):001:0> require "nokogiri"
LoadError: cannot load such file -- nokogiri
        from
C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:i
n `require'
        from
C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:i
n `require'
        from (irb):1
        from C:/Ruby193/bin/irb:12:in `<main>'
irb(main):002:0>

Can you require any of the others?

Have you run

require ‘rubygems’

first?

Please put a little more effort into this

Peter Hickman wrote in post #1110491:

Can you require any of the others?

Have you run

require 'rubygems'

first?

Please put a little more effort into this

C:\>irb --simple-prompt

require "selenium-webdriver"

=> true

require "watir-webdriver"

=> true

require "nokogiri"

LoadError: cannot load such file -- nokogiri
        from
C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:i
n `require'
        from
C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:i
n `require'
        from (irb):4
        from C:/Ruby193/bin/irb:12:in `<main>'

Just a hunch.. can you require any of the gems with mingw32 dependencies?

Greg Akins
Insomnia Consulting, LLC
gakins@insomnia-consulting.org
724 454 7790 (cell)
http://www.linkedin.com/company/2942338?trk=tyah

Greg Akins wrote in post #1110493:

Just a hunch.. can you require any of the gems with mingw32
dependencies?

Greg Akins
Insomnia Consulting, LLC
gakins@insomnia-consulting.org
724 454 7790 (cell)
http://www.linkedin.com/company/2942338?trk=tyah

Sorry! I didn't get you.

nokogiri (1.5.6 x86-mingw32)
ffi (1.3.1 x86-mingw32)

Notice how they both have mingw32 in the version. They're built on
operating system specific libraries. In Windows, they need mingw32 to
build.

Wondering if the require problem you're having is related to mingw32
instead of just Nokogiri.

Greg Akins
Insomnia Consulting, LLC
gakins@insomnia-consulting.org
724 454 7790 (cell)
http://www.linkedin.com/company/2942338?trk=tyah

Greg Akins wrote in post #1110501:

nokogiri (1.5.6 x86-mingw32)
ffi (1.3.1 x86-mingw32)

Notice how they both have mingw32 in the version. They're built on
operating system specific libraries. In Windows, they need mingw32 to
build.

Wondering if the require problem you're having is related to mingw32
instead of just Nokogiri.

Still I am having the same issue. Any advice to resolve the same?