Failure of nokogiri 1.6.7.rc2 Released to run on Ruby 2.2.2 on Windows 10

63 views
Skip to first unread message

John S

unread,
Sep 6, 2015, 11:48:34 AM9/6/15
to nokogiri-talk
My App is using mechanize and Nokogiri with Ruby 2.2.2 on windows 10.  When app is executed, ruby issues error message:

C:/Ruby222/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- nokogiri/nokogiri (LoadError)
from C:/Ruby222/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
from C:/Ruby222/lib/ruby/gems/2.2.0/gems/nokogiri-1.6.5-x86-mingw32/lib/nokogiri.rb:29:in `rescue in <top (required)>'
from C:/Ruby222/lib/ruby/gems/2.2.0/gems/nokogiri-1.6.5-x86-mingw32/lib/nokogiri.rb:25:in `<top (required)>'
from C:/Ruby222/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:128:in `require'
from C:/Ruby222/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:128:in `rescue in require'
from C:/Ruby222/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:39:in `require'
from C:/Ruby222/lib/ruby/gems/2.2.0/gems/mechanize-2.7.3/lib/mechanize.rb:8:in `<top (required)>'
from C:/Ruby222/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:128:in `require'
from C:/Ruby222/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:128:in `rescue in require'
from C:/Ruby222/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:39:in `require'
from S:/Ruby/Hamsphere/Fxruby34/tools.rb:3:in `<top (required)>'
from C:/Ruby222/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
from C:/Ruby222/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
from S:/Ruby/Hamsphere/Fxruby34/cluster-40.rb:6:in `<main>'

Thank you for your assistance.
John

Mike Dalessio

unread,
Sep 6, 2015, 11:50:30 AM9/6/15
to nokogiri-talk

Your trace messages indicate you're running nokogiri 1.6.5, which doesn't support Ruby 2.2.2 on windows.

Please make sure you're running the latest release candidate of nokogiri.

--
You received this message because you are subscribed to the Google Groups "nokogiri-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nokogiri-tal...@googlegroups.com.
To post to this group, send email to nokogi...@googlegroups.com.
Visit this group at http://groups.google.com/group/nokogiri-talk.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages