From: Iii Iii Date: 2009-06-02T01:51:22+09:00 Subject: Re: nokogiri 1.3.0 Released > Hi! It should be working now. I accidentally messed up the gem spec > platform string. I've uploaded a new gem to rubyforge, and was able to > install it on windows. > > Let me know how this one works out! c:\>ruby -v ruby 1.9.1p129 (2009-05-12 revision 23412) [i386-mingw32] c:\>gem install nokogiri Building native extensions. This could take a while... ERROR: Error installing nokogiri: ERROR: Failed to build gem native extension. c:\>gem install nokogiri --platform=mswin32 Successfully installed nokogiri-1.3.0-x86-mswin32 1 gem installed Installing ri documentation for nokogiri-1.3.0-x86-mswin32... Updating class cache with 2372 classes... Installing RDoc documentation for nokogiri-1.3.0-x86-mswin32... c:\>irb irb(main):001:0> require 'nokogiri' LoadError: 127: - c:/ruby/lib/ruby/gems/1.9.1/gems/nokogiri-1.3.0-x86-mswin32/lib/nokogiri/1.9/nokogiri.so from c:/ruby/lib/ruby/gems/1.9.1/gems/nokogiri-1.3.0-x86-mswin32/lib/nokogiri/nokogiri.rb:1:in `require' from c:/ruby/lib/ruby/gems/1.9.1/gems/nokogiri-1.3.0-x86-mswin32/lib/nokogiri/nokogiri.rb:1:in `' from c:/ruby/lib/ruby/gems/1.9.1/gems/nokogiri-1.3.0/lib/nokogiri.rb:12:in `require' from c:/ruby/lib/ruby/gems/1.9.1/gems/nokogiri-1.3.0/lib/nokogiri.rb:12:in `' from (irb):1:in `require' from (irb):1 from c:/ruby/bin/irb.bat:20:in `
' irb(main):002:0> I have localized Windows so I can't send exact message in a popup window but there was something like: Input point of the procedure DllMain@12 hasn't succeeded find the dynamic library msvcrt-ruby191.dll. I think there is conflict between mingw and mswin version of Ruby. -- Posted via http://www.ruby-forum.com/.