I’m trying to use Nokogiri on Windows 7 on a 64-bit PC (using 64-bit
Windows and DevKit). I just installed the xml2/xslt/iconv/zlib libs from
ftp://ftp.zlatkovic.com/libxml/64bit/ (for which I moved
include/libxml2/libxml into include/libxml; I suppose I could have just
adjusted --with-xml2-include), and then installed Nokogiri. It seemed to
build the native extension fine.
However, when I try to require Nokogiri, I get:
C:/Users/echristopherson/Development/Ruby/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in
`require’:LoadError: 126: The specified module could not be found. -
C:/Users/echristopherson/Development/Ruby/lib/ruby/gems/2.0.0/gems/nokogiri-1.5.9/lib/nokogiri/nokogiri.so
file C:/Users/echristopherson/Development/Ruby/lib/ruby/gems/2.0.0/gems/nokogiri-1.5.9/lib/nokogiri/nokogiri.so
outputs “PE32+ executable for MS Windows (DLL) (console) Mono
/.Net assembly”.
What am I doing wrong? I get the same results with gem install --pre nokogiri ...
.