Windows support for Ruby 2.2

163 views
Skip to first unread message

Javix

unread,
Mar 17, 2015, 10:18:04 AM3/17/15
to nokogi...@googlegroups.com
I have a load error with the following nokogiri versions installed:

gem list nokogiri
nokogiri
(1.6.6.2 x64-mingw32, 1.6.5 x64-mingw32)



Tried to load it irb:

C:\Users\XXXXXX\Documents\projects\ruby_drafts\lib>irb
irb
(main):001:0> require 'nokogiri'
LoadError: cannot load such file -- nokogiri/nokogiri
       
from C:/Ruby22-x64/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
        from C:/Ruby22-x64/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `
require'
        from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/nokogiri-1.6.6.2-x64-mingw32/lib/nokogiri.rb:29:in `rescue
 in <top (required)>'

       
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/nokogiri-1.6.6.2-x64-mingw32/lib/nokogiri.rb:25:in `<top (
required)>'
        from C:/Ruby22-x64/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:128:in `
require'
        from C:/Ruby22-x64/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:128:in `rescue in require'

       
from C:/Ruby22-x64/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:39:in `require'
        from (irb):1
        from C:/Ruby22-x64/bin/irb:11:in `<main>'
irb(main):002:0>



OS: Windows 7 Pro
Ruby: ruby 2.2.1p85 (2015-02-26 revision 49769) [x64-mingw32]

Any idea ? Thank you

Javix

unread,
Mar 17, 2015, 10:19:43 AM3/17/15
to nokogi...@googlegroups.com

It seems that it is already a known issue: https://github.com/sparklemotion/nokogiri/issues/1256

Mike Dalessio

unread,
Mar 17, 2015, 10:30:46 AM3/17/15
to nokogiri-talk
Ruby 2.2 is not yet supported on Windows. The next version of Nokogiri, 1.6.7, due out soon, will support Ruby 2.2 on Windows.

Thanks for your patience.


--
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.

Serguei Cambour

unread,
Mar 17, 2015, 10:35:34 AM3/17/15
to nokogi...@googlegroups.com
Nice, I'll have to use jruby for my previous scripts and waiting forward to get it :)

--
You received this message because you are subscribed to a topic in the Google Groups "nokogiri-talk" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/nokogiri-talk/ME9bAI5VO5w/unsubscribe.
To unsubscribe from this group and all its topics, send an email to nokogiri-tal...@googlegroups.com.

guillau...@gmail.com

unread,
Mar 23, 2015, 7:58:20 AM3/23/15
to nokogi...@googlegroups.com
Hi,

is it the case for ruby 2.2 on other operating system (like OS X 10.10) ?

Mike Dalessio

unread,
Mar 23, 2015, 8:00:07 AM3/23/15
to nokogiri-talk
Guillaume,

As I mentioned in the github issue you commented on, if you're experiencing any issues, please either email this list with details; or open a new github issue.


-m


--

Serguei Cambour

unread,
Mar 23, 2015, 8:03:02 AM3/23/15
to nokogi...@googlegroups.com
As Mike Dalessio (@flavorjones) told it in the described Github issue:

To be clear, we do not yet support window 2.2, as mentioned on the mailing list and in this issue

so I think it is a Windows OS issue.

--
You received this message because you are subscribed to a topic in the Google Groups "nokogiri-talk" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/nokogiri-talk/ME9bAI5VO5w/unsubscribe.
To unsubscribe from this group and all its topics, send an email to nokogiri-tal...@googlegroups.com.

Javix

unread,
Mar 23, 2015, 3:42:08 PM3/23/15
to nokogi...@googlegroups.com
No, it works nice on OS X x64 wit Ruby MRI 2.2.1:

Fetching: mini_portile-0.6.2.gem (100%)

Successfully installed mini_portile-0.6.2

Fetching: nokogiri-1.6.6.2.gem (100%)

Building native extensions.  This could take a while...

Successfully installed nokogiri-1.6.6.2

2 gems installed

➜  irb

2.2.1 :001 > require 'nokogiri'

 => true 

2.2.1 :002 > 

 
Reply all
Reply to author
Forward
0 new messages