New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Ruby x64 on Windows #864

Closed
davispuh opened this Issue Mar 14, 2013 · 108 comments

Comments

Projects
None yet
@davispuh

davispuh commented Mar 14, 2013

With Ruby 2.0 release there's now Ruby x64 available for Windows. Also DevKit have been released with MinGW x64. Most of typical gems does build fine with it.
http://rubyinstaller.org/downloads/

@fbehrens

This comment has been minimized.

Show comment
Hide comment
@fbehrens

fbehrens commented Mar 15, 2013

+1

@sroller

This comment has been minimized.

Show comment
Hide comment
@sroller

sroller Mar 15, 2013

Let us know what we can do. Happy to help with x64-mingw32. Here's my environment:

[C:\Users\steffenr]gem environment
RubyGems Environment:
  - RUBYGEMS VERSION: 2.0.3
  - RUBY VERSION: 2.0.0 (2013-02-24 patchlevel 0) [x64-mingw32]
  - INSTALLATION DIRECTORY: C:/Ruby/lib/ruby/gems/2.0.0
  - RUBY EXECUTABLE: C:/Ruby/bin/ruby.exe
  - EXECUTABLE DIRECTORY: C:/Ruby/bin
  - RUBYGEMS PLATFORMS:
    - ruby
    - x64-mingw32
  - GEM PATHS:
     - C:/Ruby/lib/ruby/gems/2.0.0
     - C:/Users/steffenr/.gem/ruby/2.0.0
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :backtrace => false
     - :bulk_threshold => 1000
     - "gem" => "--no-rdoc --no-ri"
  - REMOTE SOURCES:
     - https://rubygems.org/

sroller commented Mar 15, 2013

Let us know what we can do. Happy to help with x64-mingw32. Here's my environment:

[C:\Users\steffenr]gem environment
RubyGems Environment:
  - RUBYGEMS VERSION: 2.0.3
  - RUBY VERSION: 2.0.0 (2013-02-24 patchlevel 0) [x64-mingw32]
  - INSTALLATION DIRECTORY: C:/Ruby/lib/ruby/gems/2.0.0
  - RUBY EXECUTABLE: C:/Ruby/bin/ruby.exe
  - EXECUTABLE DIRECTORY: C:/Ruby/bin
  - RUBYGEMS PLATFORMS:
    - ruby
    - x64-mingw32
  - GEM PATHS:
     - C:/Ruby/lib/ruby/gems/2.0.0
     - C:/Users/steffenr/.gem/ruby/2.0.0
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :backtrace => false
     - :bulk_threshold => 1000
     - "gem" => "--no-rdoc --no-ri"
  - REMOTE SOURCES:
     - https://rubygems.org/
@fbehrens

This comment has been minimized.

Show comment
Hide comment
@fbehrens

fbehrens Mar 16, 2013

make gem install nokogiri --pre working on the x64-mingw32 platform using devkit (see announcement RubyInstaller 2.0.0).
That would be very nice ☺️

C:\ruby\DevKit-mingw64-64-4.7.2-20130224-1432-sfx> gem ins nokogiri --pre
Fetching: nokogiri-1.5.7.rc3.gem (100%)
Temporarily enhancing PATH to include DevKit...
Building native extensions.  This could take a while...
ERROR:  Error installing nokogiri:
        ERROR: Failed to build gem native extension.

    c:/ruby/ruby-2.0.0-p0-x64-mingw32/bin/ruby.exe extconf.rb
Das System kann den angegebenen Pfad nicht finden.
checking for libxml/parser.h... no
-----
libxml2 is missing.  please visit http://nokogiri.org/tutorials/installing_nokogiri.html for help with installing dependencies.
-----
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers.  Check the mkmf.log file for more details.  You may
need configuration options.

Provided configuration options:
        --with-opt-dir
        --without-opt-dir
        --with-opt-include
        --without-opt-include=${opt-dir}/include
        --with-opt-lib
        --without-opt-lib=${opt-dir}/lib
        --with-make-prog
        --without-make-prog
        --srcdir=.
        --curdir
        --ruby=c:/ruby/ruby-2.0.0-p0-x64-mingw32/bin/ruby
        --with-zlib-dir
        --without-zlib-dir
        --with-zlib-include
        --without-zlib-include=${zlib-dir}/include
        --with-zlib-lib
        --without-zlib-lib=${zlib-dir}/lib
        --with-iconv-dir
        --without-iconv-dir
        --with-iconv-include
        --without-iconv-include=${iconv-dir}/include
        --with-iconv-lib
        --without-iconv-lib=${iconv-dir}/lib
        --with-xml2-dir
        --without-xml2-dir
        --with-xml2-include
        --without-xml2-include=${xml2-dir}/include
        --with-xml2-lib
        --without-xml2-lib=${xml2-dir}/lib
        --with-xslt-dir
        --without-xslt-dir
        --with-xslt-include
        --without-xslt-include=${xslt-dir}/include
        --with-xslt-lib
        --without-xslt-lib=${xslt-dir}/lib
        --with-libxslt-config
        --without-libxslt-config
        --with-pkg-config
        --without-pkg-config
        --with-libxml-2.0-config
        --without-libxml-2.0-config
        --with-pkg-config
        --without-pkg-config
        --with-libiconv-config
        --without-libiconv-config
        --with-pkg-config
        --without-pkg-config


Gem files will remain installed in c:/ruby/ruby-2.0.0-p0-x64-mingw32/lib/ruby/gems/2.0.0/gems/nokogiri-1.5.7.rc3 for inspection.
Results logged to c:/ruby/ruby-2.0.0-p0-x64-mingw32/lib/ruby/gems/2.0.0/gems/nokogiri-1.5.7.rc3/ext/nokogiri/gem_make.out

C:\ruby\DevKit-mingw64-64-4.7.2-20130224-1432-sfx> gem env
RubyGems Environment:
  - RUBYGEMS VERSION: 2.0.2
  - RUBY VERSION: 2.0.0 (2013-02-24 patchlevel 0) [x64-mingw32]
  - INSTALLATION DIRECTORY: c:/ruby/ruby-2.0.0-p0-x64-mingw32/lib/ruby/gems/2.0.0
  - RUBY EXECUTABLE: c:/ruby/ruby-2.0.0-p0-x64-mingw32/bin/ruby.exe
  - EXECUTABLE DIRECTORY: c:/ruby/ruby-2.0.0-p0-x64-mingw32/bin
  - RUBYGEMS PLATFORMS:
    - ruby
    - x64-mingw32
  - GEM PATHS:
     - c:/ruby/ruby-2.0.0-p0-x64-mingw32/lib/ruby/gems/2.0.0
     - c:/home/.gem/ruby/2.0.0
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :backtrace => false
     - :bulk_threshold => 1000
     - "gem" => "--no-ri --no-rdoc"
  - REMOTE SOURCES:
     - https://rubygems.org/

fbehrens commented Mar 16, 2013

make gem install nokogiri --pre working on the x64-mingw32 platform using devkit (see announcement RubyInstaller 2.0.0).
That would be very nice ☺️

C:\ruby\DevKit-mingw64-64-4.7.2-20130224-1432-sfx> gem ins nokogiri --pre
Fetching: nokogiri-1.5.7.rc3.gem (100%)
Temporarily enhancing PATH to include DevKit...
Building native extensions.  This could take a while...
ERROR:  Error installing nokogiri:
        ERROR: Failed to build gem native extension.

    c:/ruby/ruby-2.0.0-p0-x64-mingw32/bin/ruby.exe extconf.rb
Das System kann den angegebenen Pfad nicht finden.
checking for libxml/parser.h... no
-----
libxml2 is missing.  please visit http://nokogiri.org/tutorials/installing_nokogiri.html for help with installing dependencies.
-----
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers.  Check the mkmf.log file for more details.  You may
need configuration options.

Provided configuration options:
        --with-opt-dir
        --without-opt-dir
        --with-opt-include
        --without-opt-include=${opt-dir}/include
        --with-opt-lib
        --without-opt-lib=${opt-dir}/lib
        --with-make-prog
        --without-make-prog
        --srcdir=.
        --curdir
        --ruby=c:/ruby/ruby-2.0.0-p0-x64-mingw32/bin/ruby
        --with-zlib-dir
        --without-zlib-dir
        --with-zlib-include
        --without-zlib-include=${zlib-dir}/include
        --with-zlib-lib
        --without-zlib-lib=${zlib-dir}/lib
        --with-iconv-dir
        --without-iconv-dir
        --with-iconv-include
        --without-iconv-include=${iconv-dir}/include
        --with-iconv-lib
        --without-iconv-lib=${iconv-dir}/lib
        --with-xml2-dir
        --without-xml2-dir
        --with-xml2-include
        --without-xml2-include=${xml2-dir}/include
        --with-xml2-lib
        --without-xml2-lib=${xml2-dir}/lib
        --with-xslt-dir
        --without-xslt-dir
        --with-xslt-include
        --without-xslt-include=${xslt-dir}/include
        --with-xslt-lib
        --without-xslt-lib=${xslt-dir}/lib
        --with-libxslt-config
        --without-libxslt-config
        --with-pkg-config
        --without-pkg-config
        --with-libxml-2.0-config
        --without-libxml-2.0-config
        --with-pkg-config
        --without-pkg-config
        --with-libiconv-config
        --without-libiconv-config
        --with-pkg-config
        --without-pkg-config


Gem files will remain installed in c:/ruby/ruby-2.0.0-p0-x64-mingw32/lib/ruby/gems/2.0.0/gems/nokogiri-1.5.7.rc3 for inspection.
Results logged to c:/ruby/ruby-2.0.0-p0-x64-mingw32/lib/ruby/gems/2.0.0/gems/nokogiri-1.5.7.rc3/ext/nokogiri/gem_make.out

C:\ruby\DevKit-mingw64-64-4.7.2-20130224-1432-sfx> gem env
RubyGems Environment:
  - RUBYGEMS VERSION: 2.0.2
  - RUBY VERSION: 2.0.0 (2013-02-24 patchlevel 0) [x64-mingw32]
  - INSTALLATION DIRECTORY: c:/ruby/ruby-2.0.0-p0-x64-mingw32/lib/ruby/gems/2.0.0
  - RUBY EXECUTABLE: c:/ruby/ruby-2.0.0-p0-x64-mingw32/bin/ruby.exe
  - EXECUTABLE DIRECTORY: c:/ruby/ruby-2.0.0-p0-x64-mingw32/bin
  - RUBYGEMS PLATFORMS:
    - ruby
    - x64-mingw32
  - GEM PATHS:
     - c:/ruby/ruby-2.0.0-p0-x64-mingw32/lib/ruby/gems/2.0.0
     - c:/home/.gem/ruby/2.0.0
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :backtrace => false
     - :bulk_threshold => 1000
     - "gem" => "--no-ri --no-rdoc"
  - REMOTE SOURCES:
     - https://rubygems.org/
@stibra

This comment has been minimized.

Show comment
Hide comment
@stibra

stibra Mar 18, 2013

Hi,

Are there any news for x64-bit support? :(

Ruby 2.0 64-bit is primary version to run Ruby on Windows Server. I do not understand why somone would like to use 32-bit version of Ruby 2.0 when 64-bit is available.

Thanks,

Ratko

stibra commented Mar 18, 2013

Hi,

Are there any news for x64-bit support? :(

Ruby 2.0 64-bit is primary version to run Ruby on Windows Server. I do not understand why somone would like to use 32-bit version of Ruby 2.0 when 64-bit is available.

Thanks,

Ratko

@flavorjones

This comment has been minimized.

Show comment
Hide comment
@flavorjones

flavorjones Mar 18, 2013

Member

@stibra Thank you for asking. This will be done as soon as I can get to it. Windows builds are hard to do, since libxml2, libxslt, libiconv and zlib must be pre-compiled and delivered as DLLs. Additionally, Team Nokogiri has no windows machines to test with.

I'm hoping to do this this week. Please be patient.

Member

flavorjones commented Mar 18, 2013

@stibra Thank you for asking. This will be done as soon as I can get to it. Windows builds are hard to do, since libxml2, libxslt, libiconv and zlib must be pre-compiled and delivered as DLLs. Additionally, Team Nokogiri has no windows machines to test with.

I'm hoping to do this this week. Please be patient.

@sroller

This comment has been minimized.

Show comment
Hide comment
@sroller

sroller Mar 18, 2013

I'm happy to help testing.

sroller commented Mar 18, 2013

I'm happy to help testing.

@stibra

This comment has been minimized.

Show comment
Hide comment
@stibra

stibra Mar 18, 2013

Thanks for the information! I can provide Windows Servers for testing and will do the testing as soon you have something :)
We are running Ruby on Rails applications on Windows Server 2008 R2 and 2012 on IIS, using Helicon Zoo module for IIS.
HeliconTech is little bit slow with supporting Ruby 2.0, specially x64 version, but it works with manual configuration.

stibra commented Mar 18, 2013

Thanks for the information! I can provide Windows Servers for testing and will do the testing as soon you have something :)
We are running Ruby on Rails applications on Windows Server 2008 R2 and 2012 on IIS, using Helicon Zoo module for IIS.
HeliconTech is little bit slow with supporting Ruby 2.0, specially x64 version, but it works with manual configuration.

@zhon

This comment has been minimized.

Show comment
Hide comment
@zhon

zhon Mar 23, 2013

Nokogiri depends on JSON 1.6.1 which doesn't compile while JSON 1.7.7 does.

zhon commented Mar 23, 2013

Nokogiri depends on JSON 1.6.1 which doesn't compile while JSON 1.7.7 does.

@flavorjones

This comment has been minimized.

Show comment
Hide comment
@flavorjones

flavorjones Mar 25, 2013

Member

@zhon - I don't understand your comment.

Member

flavorjones commented Mar 25, 2013

@zhon - I don't understand your comment.

@zhon

This comment has been minimized.

Show comment
Hide comment
@zhon

zhon Mar 25, 2013

@flavorjones When I try installing nokogiri on Widown 64 (devkit.64-4.7.2), one of the problems I encounter is nokogiri attempting to install JSON 1.6.1 (which didn't compile).

zhon commented Mar 25, 2013

@flavorjones When I try installing nokogiri on Widown 64 (devkit.64-4.7.2), one of the problems I encounter is nokogiri attempting to install JSON 1.6.1 (which didn't compile).

@mrigeshpriyadarshi

This comment has been minimized.

Show comment
Hide comment
@mrigeshpriyadarshi

mrigeshpriyadarshi Mar 26, 2013

Hey, am getting following error while installing aws-sdk gem on windows 7 64-bit:-

<<< ----
C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/nokogiri-1.5.9/test/namespaces/test_namespaces_in_parsed_doc.rb
Building native extensions. This could take a while...
C:/Ruby200-x64/bin/ruby.exe extconf.rb
"The system cannot find the path specified.

checking for libxml/parser.h... no

libxml2 is missing. please visit http://nokogiri.org/tutorials/installing_nokogiri.html for help with installing dependencies."

*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers. Check the mkmf.log file for more details. You may
need configuration options.

----- >>>>

Following are the entries in mknf.log :-

<<< ---
In file included from C:/Ruby200-x64/include/ruby-2.0.0/libxml/parser.h:807:0,
from conftest.c:5:
C:/Ruby200-x64/include/ruby-2.0.0/libxml/encoding.h:28:19: fatal error: iconv.h: No such file or directory
compilation terminated.
checked program was:
/* begin /
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5: #include <libxml/parser.h>
/
end */
----- >>>

I tried to download separate libxml2 and "libiconv-1.13.1-1-mingw32-dev" and put on the LIBDIR and INCLUDEDIR.

But still getting same error.

Environment Info :-

<<< ---
C:\DevKit>gem env
RubyGems Environment:

  • RUBYGEMS VERSION: 2.0.3
  • RUBY VERSION: 2.0.0 (2013-02-24 patchlevel 0) [x64-mingw32]
  • INSTALLATION DIRECTORY: C:/Ruby200-x64/lib/ruby/gems/2.0.0
  • RUBY EXECUTABLE: C:/Ruby200-x64/bin/ruby.exe
  • EXECUTABLE DIRECTORY: C:/Ruby200-x64/bin
  • RUBYGEMS PLATFORMS:
    • ruby
    • x64-mingw32
  • GEM PATHS:
    • C:/Ruby200-x64/lib/ruby/gems/2.0.0
    • F:/.gem/ruby/2.0.0
  • GEM CONFIGURATION:
    • :update_sources => true
    • :verbose => true
    • :backtrace => false
    • :bulk_threshold => 1000
  • REMOTE SOURCES:

C:\DevKit>

------ >>>>

Please guide.

mrigeshpriyadarshi commented Mar 26, 2013

Hey, am getting following error while installing aws-sdk gem on windows 7 64-bit:-

<<< ----
C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/nokogiri-1.5.9/test/namespaces/test_namespaces_in_parsed_doc.rb
Building native extensions. This could take a while...
C:/Ruby200-x64/bin/ruby.exe extconf.rb
"The system cannot find the path specified.

checking for libxml/parser.h... no

libxml2 is missing. please visit http://nokogiri.org/tutorials/installing_nokogiri.html for help with installing dependencies."

*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers. Check the mkmf.log file for more details. You may
need configuration options.

----- >>>>

Following are the entries in mknf.log :-

<<< ---
In file included from C:/Ruby200-x64/include/ruby-2.0.0/libxml/parser.h:807:0,
from conftest.c:5:
C:/Ruby200-x64/include/ruby-2.0.0/libxml/encoding.h:28:19: fatal error: iconv.h: No such file or directory
compilation terminated.
checked program was:
/* begin /
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5: #include <libxml/parser.h>
/
end */
----- >>>

I tried to download separate libxml2 and "libiconv-1.13.1-1-mingw32-dev" and put on the LIBDIR and INCLUDEDIR.

But still getting same error.

Environment Info :-

<<< ---
C:\DevKit>gem env
RubyGems Environment:

  • RUBYGEMS VERSION: 2.0.3
  • RUBY VERSION: 2.0.0 (2013-02-24 patchlevel 0) [x64-mingw32]
  • INSTALLATION DIRECTORY: C:/Ruby200-x64/lib/ruby/gems/2.0.0
  • RUBY EXECUTABLE: C:/Ruby200-x64/bin/ruby.exe
  • EXECUTABLE DIRECTORY: C:/Ruby200-x64/bin
  • RUBYGEMS PLATFORMS:
    • ruby
    • x64-mingw32
  • GEM PATHS:
    • C:/Ruby200-x64/lib/ruby/gems/2.0.0
    • F:/.gem/ruby/2.0.0
  • GEM CONFIGURATION:
    • :update_sources => true
    • :verbose => true
    • :backtrace => false
    • :bulk_threshold => 1000
  • REMOTE SOURCES:

C:\DevKit>

------ >>>>

Please guide.

@flavorjones

This comment has been minimized.

Show comment
Hide comment
@flavorjones

flavorjones Mar 26, 2013

Member

Hello, Windows users who are new to this thread!

Ruby 2.0 64-bit windows support is not yet available. Compilation at gem install time is not supported so please do not try. If you try, do not try to get us to help you do it. Adding your compilation errors to this ticket is simply adding noise.

The only supported method of installing Nokogiri for Windows is now, and will continue to be, having Team Nokogiri cross-compile the required DLLs for your platform, and shipping a "fat binary" gem.

Member

flavorjones commented Mar 26, 2013

Hello, Windows users who are new to this thread!

Ruby 2.0 64-bit windows support is not yet available. Compilation at gem install time is not supported so please do not try. If you try, do not try to get us to help you do it. Adding your compilation errors to this ticket is simply adding noise.

The only supported method of installing Nokogiri for Windows is now, and will continue to be, having Team Nokogiri cross-compile the required DLLs for your platform, and shipping a "fat binary" gem.

@fbehrens

This comment has been minimized.

Show comment
Hide comment
@fbehrens

fbehrens Mar 26, 2013

Thanks for clarification.
@mrigeshpriyadarshi use 32 bit ruby 2.0 on 64bit-windows, until its available. That's working fine

fbehrens commented Mar 26, 2013

Thanks for clarification.
@mrigeshpriyadarshi use 32 bit ruby 2.0 on 64bit-windows, until its available. That's working fine

@mrigeshpriyadarshi

This comment has been minimized.

Show comment
Hide comment
@mrigeshpriyadarshi

mrigeshpriyadarshi Mar 26, 2013

@fbehrens Thanks a lot.. I had 32 installation just wanted to move to 64-bit. :)
@flavorjones Thanks a lot for clarification...

mrigeshpriyadarshi commented Mar 26, 2013

@fbehrens Thanks a lot.. I had 32 installation just wanted to move to 64-bit. :)
@flavorjones Thanks a lot for clarification...

@davispuh

This comment has been minimized.

Show comment
Hide comment
@davispuh

davispuh Mar 26, 2013

any idea when we could expect it released? like after 2 weeks, month, etc?

davispuh commented Mar 26, 2013

any idea when we could expect it released? like after 2 weeks, month, etc?

@flavorjones

This comment has been minimized.

Show comment
Hide comment
@flavorjones

flavorjones Mar 27, 2013

Member

"So much time and so little to do. Wait a minute. Strike that. Reverse it. Thank you."

I'll let you know when I know. Historically speaking, windows users have not been active participants in the development process of Nokogiri, so it's great to see people anxious for updates.

Member

flavorjones commented Mar 27, 2013

"So much time and so little to do. Wait a minute. Strike that. Reverse it. Thank you."

I'll let you know when I know. Historically speaking, windows users have not been active participants in the development process of Nokogiri, so it's great to see people anxious for updates.

@jphastings

This comment has been minimized.

Show comment
Hide comment
@jphastings

jphastings Apr 5, 2013

I'd like to see this too, I can help with testing if it's needed!

jphastings commented Apr 5, 2013

I'd like to see this too, I can help with testing if it's needed!

@kimostler

This comment has been minimized.

Show comment
Hide comment
@kimostler

kimostler Apr 8, 2013

I'm interested in the windows 64 bit solution too and will grab it for testing as soon as it is available.

kimostler commented Apr 8, 2013

I'm interested in the windows 64 bit solution too and will grab it for testing as soon as it is available.

@phrozen

This comment has been minimized.

Show comment
Hide comment
@phrozen

phrozen Apr 10, 2013

How is this going? I can test as much as you like! We're eager cause this is the first release of 64 bit Ruby for Windows.

phrozen commented Apr 10, 2013

How is this going? I can test as much as you like! We're eager cause this is the first release of 64 bit Ruby for Windows.

@johnnyshields

This comment has been minimized.

Show comment
Hide comment
@johnnyshields

johnnyshields commented Apr 14, 2013

👍 +1

@flavorjones

This comment has been minimized.

Show comment
Hide comment
@flavorjones

flavorjones Apr 14, 2013

Member

Hello everyone,

I will summarize previous updates for those who are new to the conversation: rake-compiler does not yet support the x64-mingw32 platform. Status on that is here: rake-compiler/rake-compiler#74

In the meantime, please keep in mind that compilation at gem install time is not supported so please do not try. If you try, do not try to get us to help you do it. Adding your compilation errors to this ticket is simply adding noise.

The only supported method of installing Nokogiri for Windows is now, and will continue to be, having Team Nokogiri cross-compile the required DLLs for your platform, and shipping a "fat binary" gem.

Member

flavorjones commented Apr 14, 2013

Hello everyone,

I will summarize previous updates for those who are new to the conversation: rake-compiler does not yet support the x64-mingw32 platform. Status on that is here: rake-compiler/rake-compiler#74

In the meantime, please keep in mind that compilation at gem install time is not supported so please do not try. If you try, do not try to get us to help you do it. Adding your compilation errors to this ticket is simply adding noise.

The only supported method of installing Nokogiri for Windows is now, and will continue to be, having Team Nokogiri cross-compile the required DLLs for your platform, and shipping a "fat binary" gem.

@davispuh

This comment has been minimized.

Show comment
Hide comment
@davispuh

davispuh Apr 14, 2013

thanks for showing where's roadblock :)

davispuh commented Apr 14, 2013

thanks for showing where's roadblock :)

@helgeho

This comment has been minimized.

Show comment
Hide comment
@helgeho

helgeho Apr 17, 2013

I am getting the "libxml2 is missing" error even with x86-mingw32 on a windows 8 x64 machine.
My gem env:

RubyGems Environment:
  - RUBYGEMS VERSION: 2.0.0
  - RUBY VERSION: 2.0.0 (2013-02-24 patchlevel 0) [i386-mingw32]
  - INSTALLATION DIRECTORY: C:/Ruby200/lib/ruby/gems/2.0.0
  - RUBY EXECUTABLE: C:/Ruby200/bin/ruby.exe
  - EXECUTABLE DIRECTORY: C:/Ruby200/bin
  - RUBYGEMS PLATFORMS:
    - ruby
    - x86-mingw32
  - GEM PATHS:
     - C:/Ruby200/lib/ruby/gems/2.0.0
     - C:/Users/Helge/.gem/ruby/2.0.0
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :backtrace => false
     - :bulk_threshold => 1000
  - REMOTE SOURCES:
     - http://rubygems.org/

gem install nokogiri ends with:

ERROR:  Error installing nokogiri:
        ERROR: Failed to build gem native extension.
    C:/Ruby200/bin/ruby.exe extconf.rb
The system cannot find the path specified.
checking for libxml/parser.h... no
-----
libxml2 is missing.  please visit http://nokogiri.org/tutorials/installing_nokogiri.html for help with installing dependencies.
-----
*** extconf.rb failed ***

Any solutions for that problem?

helgeho commented Apr 17, 2013

I am getting the "libxml2 is missing" error even with x86-mingw32 on a windows 8 x64 machine.
My gem env:

RubyGems Environment:
  - RUBYGEMS VERSION: 2.0.0
  - RUBY VERSION: 2.0.0 (2013-02-24 patchlevel 0) [i386-mingw32]
  - INSTALLATION DIRECTORY: C:/Ruby200/lib/ruby/gems/2.0.0
  - RUBY EXECUTABLE: C:/Ruby200/bin/ruby.exe
  - EXECUTABLE DIRECTORY: C:/Ruby200/bin
  - RUBYGEMS PLATFORMS:
    - ruby
    - x86-mingw32
  - GEM PATHS:
     - C:/Ruby200/lib/ruby/gems/2.0.0
     - C:/Users/Helge/.gem/ruby/2.0.0
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :backtrace => false
     - :bulk_threshold => 1000
  - REMOTE SOURCES:
     - http://rubygems.org/

gem install nokogiri ends with:

ERROR:  Error installing nokogiri:
        ERROR: Failed to build gem native extension.
    C:/Ruby200/bin/ruby.exe extconf.rb
The system cannot find the path specified.
checking for libxml/parser.h... no
-----
libxml2 is missing.  please visit http://nokogiri.org/tutorials/installing_nokogiri.html for help with installing dependencies.
-----
*** extconf.rb failed ***

Any solutions for that problem?

@dimitarvp

This comment has been minimized.

Show comment
Hide comment
@dimitarvp

dimitarvp Apr 20, 2013

If the real blocker is a lack of Win XP/7 x64 development machine where the cross compilation can happen, please shout. Many people, including me, are willing to provide you that. If you have all the necessary files in an archive (plus instructions), please provide that and I am sure the community can help.

If the real blocker however is that your own efforts of successfully compiling Nokogiri (and its dependecies) on a Windows box which you already have a hold of, are still in progress, well, then there isn't much we can do except wait.

Maybe I can explain a bit as to why the Win64 demand is rising.

I am working on several projects and am using multiple VirtualBox Linux guests to do so. However, for my host OS I prefer Win7 to any Linux simply because I am occasionally gaming (I am not sure Windows has any other valid use anyway, to be fair). And when I want to fiddle with something mine, I am not inclined to fire a virtual machine every time. I just wanna open my emacs and 1-2 consoles and start doing stuff. And here comes our problem -- having the "mandatory" gems (I consider Nokogiri one of them) on your system whenever you need them, which includes compiling the native ones (or having a "fat gem" as you put it) without too much trouble.

I believe there's a good number of devs on my page, so maybe that use-case can explain the demand.

In any case, please shout if you need some community support.

dimitarvp commented Apr 20, 2013

If the real blocker is a lack of Win XP/7 x64 development machine where the cross compilation can happen, please shout. Many people, including me, are willing to provide you that. If you have all the necessary files in an archive (plus instructions), please provide that and I am sure the community can help.

If the real blocker however is that your own efforts of successfully compiling Nokogiri (and its dependecies) on a Windows box which you already have a hold of, are still in progress, well, then there isn't much we can do except wait.

Maybe I can explain a bit as to why the Win64 demand is rising.

I am working on several projects and am using multiple VirtualBox Linux guests to do so. However, for my host OS I prefer Win7 to any Linux simply because I am occasionally gaming (I am not sure Windows has any other valid use anyway, to be fair). And when I want to fiddle with something mine, I am not inclined to fire a virtual machine every time. I just wanna open my emacs and 1-2 consoles and start doing stuff. And here comes our problem -- having the "mandatory" gems (I consider Nokogiri one of them) on your system whenever you need them, which includes compiling the native ones (or having a "fat gem" as you put it) without too much trouble.

I believe there's a good number of devs on my page, so maybe that use-case can explain the demand.

In any case, please shout if you need some community support.

@johnnyshields

This comment has been minimized.

Show comment
Hide comment
@johnnyshields

johnnyshields Apr 20, 2013

@Dimitko I agree. Also don't forget that many users may be in an enterprise environment where they are forced to run Windows, despite their personal preferences for OSX or Linux.

johnnyshields commented Apr 20, 2013

@Dimitko I agree. Also don't forget that many users may be in an enterprise environment where they are forced to run Windows, despite their personal preferences for OSX or Linux.

@zhon

This comment has been minimized.

Show comment
Hide comment
@zhon

zhon Apr 20, 2013

@Dimitko I agree. Nokogiri has become core to Ruby. With many of the Windows' Ruby programmers using Win7 64 bit, we are stuck using Ruby 1.9.3 for projects that use Nokogiri.

We are used to compiling and installing other libraries (ex., libxml, curl) into our mingw system.

zhon commented Apr 20, 2013

@Dimitko I agree. Nokogiri has become core to Ruby. With many of the Windows' Ruby programmers using Win7 64 bit, we are stuck using Ruby 1.9.3 for projects that use Nokogiri.

We are used to compiling and installing other libraries (ex., libxml, curl) into our mingw system.

@phrozen

This comment has been minimized.

Show comment
Hide comment
@phrozen

phrozen Apr 23, 2013

@zhon Although you are not stuck using 1.9.3, Nokogiri does install and run fine on Windows Ruby 2.0.0 x86, so as long as you do not go for 64 bits its fine.

Luis Lavena did circumvent the compile problems for Sqlite3 on Win x64 Ruby 2.0.0, I have seen him discussing some solutions for this too. Hope it gets fixed soon.

phrozen commented Apr 23, 2013

@zhon Although you are not stuck using 1.9.3, Nokogiri does install and run fine on Windows Ruby 2.0.0 x86, so as long as you do not go for 64 bits its fine.

Luis Lavena did circumvent the compile problems for Sqlite3 on Win x64 Ruby 2.0.0, I have seen him discussing some solutions for this too. Hope it gets fixed soon.

@flavorjones

This comment has been minimized.

Show comment
Hide comment
@flavorjones

flavorjones Apr 23, 2013

Member

Hello everyone,

I will summarize previous updates for those who are new to the conversation: rake-compiler does not yet support the x64-mingw32 platform. Status on that is here: rake-compiler/rake-compiler#74

In the meantime, please keep in mind that compilation at gem install time is not supported so please do not try. If you try, do not try to get us to help you do it. Adding your compilation errors to this ticket is simply adding noise.

The only supported method of installing Nokogiri for Windows is now, and will continue to be, having Team Nokogiri cross-compile the required DLLs for your platform, and shipping a "fat binary" gem.

Member

flavorjones commented Apr 23, 2013

Hello everyone,

I will summarize previous updates for those who are new to the conversation: rake-compiler does not yet support the x64-mingw32 platform. Status on that is here: rake-compiler/rake-compiler#74

In the meantime, please keep in mind that compilation at gem install time is not supported so please do not try. If you try, do not try to get us to help you do it. Adding your compilation errors to this ticket is simply adding noise.

The only supported method of installing Nokogiri for Windows is now, and will continue to be, having Team Nokogiri cross-compile the required DLLs for your platform, and shipping a "fat binary" gem.

@theglauber

This comment has been minimized.

Show comment
Hide comment
@theglauber

theglauber Feb 24, 2014

Correct... not fixed yet. Baby steps are still good news.

g

gem install mechanize
ERROR: Error installing mechanize:
The 'unf_ext' native gem requires installed build tools.

Please update your PATH to include build tools or download the DevKit
from 'http://rubyinstaller.org/downloads' and follow the instructions
at 'http://github.com/oneclick/rubyinstaller/wiki/Development-Kit'

gem install nokogiri
ERROR: Error installing nokogiri:
The 'nokogiri' native gem requires installed build tools.

Please update your PATH to include build tools or download the DevKit

On Mon, Feb 24, 2014 at 10:03 AM, Luis Lavena notifications@github.comwrote:

@lolmaus https://github.com/lolmaus the work was done to cross-compile
the gem and produce binaries from within the repo.

The project uses Hoe and it has a gemspec task: rake gemspec will
generate one for you, but as any generated file, is not committed to the
repository, so you cannot use it with Bundler.

See the other thread about native compiling of the gem (perhaps with rake
package) and cross-compiling using rake-compiler-dev-box.


Reply to this email directly or view it on GitHubhttps://github.com//issues/864#issuecomment-35901304
.

Glauber Ribeiro - theglauber@gmail.com
My CDs: http://snipr.com/tbvqg
http://snipr.com/72my0 http://snipr.com/tbvrb

theglauber commented Feb 24, 2014

Correct... not fixed yet. Baby steps are still good news.

g

gem install mechanize
ERROR: Error installing mechanize:
The 'unf_ext' native gem requires installed build tools.

Please update your PATH to include build tools or download the DevKit
from 'http://rubyinstaller.org/downloads' and follow the instructions
at 'http://github.com/oneclick/rubyinstaller/wiki/Development-Kit'

gem install nokogiri
ERROR: Error installing nokogiri:
The 'nokogiri' native gem requires installed build tools.

Please update your PATH to include build tools or download the DevKit

On Mon, Feb 24, 2014 at 10:03 AM, Luis Lavena notifications@github.comwrote:

@lolmaus https://github.com/lolmaus the work was done to cross-compile
the gem and produce binaries from within the repo.

The project uses Hoe and it has a gemspec task: rake gemspec will
generate one for you, but as any generated file, is not committed to the
repository, so you cannot use it with Bundler.

See the other thread about native compiling of the gem (perhaps with rake
package) and cross-compiling using rake-compiler-dev-box.


Reply to this email directly or view it on GitHubhttps://github.com//issues/864#issuecomment-35901304
.

Glauber Ribeiro - theglauber@gmail.com
My CDs: http://snipr.com/tbvqg
http://snipr.com/72my0 http://snipr.com/tbvrb

@luislavena

This comment has been minimized.

Show comment
Hide comment
@luislavena

luislavena Feb 24, 2014

Member

@theglauber

Correct... not fixed yet. Baby steps are still good news.

This is fixed in the repository, that doesn't mean has been released as a gem.

Please understand that in order to release a new version of a gem several things needs to happen before, one of those is maintainers find the time to coordinate all the changes, build changelog, do some testing, etc. Not to mention the requirements on cross-compiling Windows native gems.

If you clone the repository you will be able to build the gem natively

BTW, your error:

ERROR:  Error installing mechanize:
        The 'unf_ext' native gem requires installed build tools.

Indicates you don't have compiler toolchain installed, and because of that, you cannot locally build Nokogiri (which might be possible due latest modifications released not long ago).

You might not have pre-compiled binaries yet.

Member

luislavena commented Feb 24, 2014

@theglauber

Correct... not fixed yet. Baby steps are still good news.

This is fixed in the repository, that doesn't mean has been released as a gem.

Please understand that in order to release a new version of a gem several things needs to happen before, one of those is maintainers find the time to coordinate all the changes, build changelog, do some testing, etc. Not to mention the requirements on cross-compiling Windows native gems.

If you clone the repository you will be able to build the gem natively

BTW, your error:

ERROR:  Error installing mechanize:
        The 'unf_ext' native gem requires installed build tools.

Indicates you don't have compiler toolchain installed, and because of that, you cannot locally build Nokogiri (which might be possible due latest modifications released not long ago).

You might not have pre-compiled binaries yet.

@lolmaus

This comment has been minimized.

Show comment
Hide comment
@lolmaus

lolmaus Feb 25, 2014

When will this fix be available for end users to try?

lolmaus commented Feb 25, 2014

When will this fix be available for end users to try?

siclo added a commit to siclo/sample_app that referenced this issue Mar 3, 2014

@wushuzh

This comment has been minimized.

Show comment
Hide comment
@wushuzh

wushuzh Mar 5, 2014

Look forward to get the fixed version. Thanks very much.
Is it possible to forecast a date when it will available with gem version ?

wushuzh commented Mar 5, 2014

Look forward to get the fixed version. Thanks very much.
Is it possible to forecast a date when it will available with gem version ?

@lolmaus

This comment has been minimized.

Show comment
Hide comment
@lolmaus

lolmaus Mar 5, 2014

I have to vote for larskanis's claim for bounty until March 10th, but i'm unable to test his solution until the gem is released. What do i do?

lolmaus commented Mar 5, 2014

I have to vote for larskanis's claim for bounty until March 10th, but i'm unable to test his solution until the gem is released. What do i do?

@larskanis

This comment has been minimized.

Show comment
Hide comment
@larskanis

larskanis Mar 5, 2014

Member

@lolmaus: In order to install nokogiri on Windows-x64 from the git repository, before team nokogiri released the next official version, you need git and the DevKit properly installed. You can do:

git clone -n https://github.com/sparklemotion/nokogiri.git
cd nokogiri
git config core.autocrlf false
git checkout master -f
rake -rdevkit native gem
gem inst pkg\nokogiri-1.6.2.beta.2-x64-mingw32.gem

The test suite should also pass with rake test.

Update: I've updated the commands since #1061 is merged by now.

Member

larskanis commented Mar 5, 2014

@lolmaus: In order to install nokogiri on Windows-x64 from the git repository, before team nokogiri released the next official version, you need git and the DevKit properly installed. You can do:

git clone -n https://github.com/sparklemotion/nokogiri.git
cd nokogiri
git config core.autocrlf false
git checkout master -f
rake -rdevkit native gem
gem inst pkg\nokogiri-1.6.2.beta.2-x64-mingw32.gem

The test suite should also pass with rake test.

Update: I've updated the commands since #1061 is merged by now.

@lolmaus

This comment has been minimized.

Show comment
Hide comment
@lolmaus

lolmaus Mar 5, 2014

Seems legit. :)

lolmaus commented Mar 5, 2014

Seems legit. :)

@starrychloe

This comment has been minimized.

Show comment
Hide comment
@starrychloe

starrychloe Mar 5, 2014

Here is how to install Nokogiri gem with Chocolatey, Windows 8.1 x64, and DevKit x64.

http://stackoverflow.com/a/22210252/148844

starrychloe commented Mar 5, 2014

Here is how to install Nokogiri gem with Chocolatey, Windows 8.1 x64, and DevKit x64.

http://stackoverflow.com/a/22210252/148844

@babelfish

This comment has been minimized.

Show comment
Hide comment
@babelfish

babelfish Mar 10, 2014

@starrychloe That does not work for me, those packages are not in the Chocolatey repo.

babelfish commented Mar 10, 2014

@starrychloe That does not work for me, those packages are not in the Chocolatey repo.

@stibra

This comment has been minimized.

Show comment
Hide comment
@stibra

stibra Mar 24, 2014

Hi,

I have installed Nokogiri x64 with Chocolatey, but when running the application, I receive the error:

[tid-3001920] 126: The specified module could not be found. - C:/Ruby200/lib/ruby/gems/2.0.0/gems/nokogiri-1.6.1/lib/nokogiri/nokogiri.so (LoadError)
C:/Ruby200/lib/ruby/gems/2.0.0/gems/nokogiri-1.6.1/lib/nokogiri.rb:28:in require' C:/Ruby200/lib/ruby/gems/2.0.0/gems/nokogiri-1.6.1/lib/nokogiri.rb:28:in<top (required)>'
C:/Ruby200/lib/ruby/gems/2.0.0/gems/bundler-1.5.3/lib/bundler/runtime.rb:76:in require' C:/Ruby200/lib/ruby/gems/2.0.0/gems/bundler-1.5.3/lib/bundler/runtime.rb:76:inblock (2 levels) in require'
C:/Ruby200/lib/ruby/gems/2.0.0/gems/bundler-1.5.3/lib/bundler/runtime.rb:72:in each' C:/Ruby200/lib/ruby/gems/2.0.0/gems/bundler-1.5.3/lib/bundler/runtime.rb:72:inblock in require'
C:/Ruby200/lib/ruby/gems/2.0.0/gems/bundler-1.5.3/lib/bundler/runtime.rb:61:in each' C:/Ruby200/lib/ruby/gems/2.0.0/gems/bundler-1.5.3/lib/bundler/runtime.rb:61:inrequire'
C:/Ruby200/lib/ruby/gems/2.0.0/gems/bundler-1.5.3/lib/bundler.rb:131:in `require'

File nokogiri.so is in the good location.

stibra commented Mar 24, 2014

Hi,

I have installed Nokogiri x64 with Chocolatey, but when running the application, I receive the error:

[tid-3001920] 126: The specified module could not be found. - C:/Ruby200/lib/ruby/gems/2.0.0/gems/nokogiri-1.6.1/lib/nokogiri/nokogiri.so (LoadError)
C:/Ruby200/lib/ruby/gems/2.0.0/gems/nokogiri-1.6.1/lib/nokogiri.rb:28:in require' C:/Ruby200/lib/ruby/gems/2.0.0/gems/nokogiri-1.6.1/lib/nokogiri.rb:28:in<top (required)>'
C:/Ruby200/lib/ruby/gems/2.0.0/gems/bundler-1.5.3/lib/bundler/runtime.rb:76:in require' C:/Ruby200/lib/ruby/gems/2.0.0/gems/bundler-1.5.3/lib/bundler/runtime.rb:76:inblock (2 levels) in require'
C:/Ruby200/lib/ruby/gems/2.0.0/gems/bundler-1.5.3/lib/bundler/runtime.rb:72:in each' C:/Ruby200/lib/ruby/gems/2.0.0/gems/bundler-1.5.3/lib/bundler/runtime.rb:72:inblock in require'
C:/Ruby200/lib/ruby/gems/2.0.0/gems/bundler-1.5.3/lib/bundler/runtime.rb:61:in each' C:/Ruby200/lib/ruby/gems/2.0.0/gems/bundler-1.5.3/lib/bundler/runtime.rb:61:inrequire'
C:/Ruby200/lib/ruby/gems/2.0.0/gems/bundler-1.5.3/lib/bundler.rb:131:in `require'

File nokogiri.so is in the good location.

@larskanis

This comment has been minimized.

Show comment
Hide comment
@larskanis

larskanis Mar 24, 2014

Member

@stibra: This seems to be some kind of unresolved DLL dependency. You could try Sysinternals depends tool.

However support for building nokogiri on Windows x86/x64 is already included in the git master branch, so it should work with the install instructions above. There is no need for Chocolatey.

Member

larskanis commented Mar 24, 2014

@stibra: This seems to be some kind of unresolved DLL dependency. You could try Sysinternals depends tool.

However support for building nokogiri on Windows x86/x64 is already included in the git master branch, so it should work with the install instructions above. There is no need for Chocolatey.

@stibra

This comment has been minimized.

Show comment
Hide comment
@stibra

stibra Mar 24, 2014

I will try later on other server. I have returned to Ruby 1.9.3.

I could not find the way how to install the gem without Chocolatey.

stibra commented Mar 24, 2014

I will try later on other server. I have returned to Ruby 1.9.3.

I could not find the way how to install the gem without Chocolatey.

@hickford

This comment has been minimized.

Show comment
Hide comment
@hickford

hickford Mar 27, 2014

I have Ruby 2.0 64-bit on Windows 7

> ruby -v
ruby 2.0.0p0 (2013-02-24) [x64-mingw32]

Nokogiri won't install

> gem install nokogiri
Temporarily enhancing PATH to include DevKit...
Building native extensions.  This could take a while...
ERROR:  Error installing nokogiri:
        ERROR: Failed to build gem native extension.

    C:/Ruby200-x64/bin/ruby.exe extconf.rb

C:\Ruby200-x64\lib\ruby\gems\2.0.0\gems\nokogiri-1.6.1\ext\nokogiri>doskey ls=ls --color $*
checking for libxml/parser.h... no
-----
libxml2 is missing.  please visit http://nokogiri.org/tutorials/installing_nokogiri.html for help with installing dependencies.
-----
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers.  Check the mkmf.log file for more details.  You may need configuration options.

hickford commented Mar 27, 2014

I have Ruby 2.0 64-bit on Windows 7

> ruby -v
ruby 2.0.0p0 (2013-02-24) [x64-mingw32]

Nokogiri won't install

> gem install nokogiri
Temporarily enhancing PATH to include DevKit...
Building native extensions.  This could take a while...
ERROR:  Error installing nokogiri:
        ERROR: Failed to build gem native extension.

    C:/Ruby200-x64/bin/ruby.exe extconf.rb

C:\Ruby200-x64\lib\ruby\gems\2.0.0\gems\nokogiri-1.6.1\ext\nokogiri>doskey ls=ls --color $*
checking for libxml/parser.h... no
-----
libxml2 is missing.  please visit http://nokogiri.org/tutorials/installing_nokogiri.html for help with installing dependencies.
-----
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers.  Check the mkmf.log file for more details.  You may need configuration options.
@hickford

This comment has been minimized.

Show comment
Hide comment
@hickford

hickford Mar 27, 2014

The issue is fixed in HEAD, please release a Gem to Rubygems.org . This is a killer issue for some people

hickford commented Mar 27, 2014

The issue is fixed in HEAD, please release a Gem to Rubygems.org . This is a killer issue for some people

lwalley pushed a commit to SpeciesFileGroup/taxonworks that referenced this issue Mar 28, 2014

Added basic authentication and CRUD actions for users.
Includes addition of capybara gem configured for feature tests.
Note capybara has runtime dependency on nokogiri and might not work
on Windows. See sparklemotion/nokogiri#864

Conflicts:
	app/models/user.rb
	app/views/layouts/application.html.erb
	config/routes.rb
	spec/models/user_spec.rb
	spec/spec_helper.rb
@flavorjones

This comment has been minimized.

Show comment
Hide comment
@flavorjones

flavorjones Apr 3, 2014

Member

We're planning on shipping an RC in the next day or so, which will build a
x64 windows.

On Thu, Mar 27, 2014 at 11:02 AM, Matt Hickford notifications@github.comwrote:

If the issue is fixed in HEAD, please could you release a Gem to

#864 (comment)#864 (comment)

Reply to this email directly or view it on GitHubhttps://github.com//issues/864#issuecomment-38814483
.

Member

flavorjones commented Apr 3, 2014

We're planning on shipping an RC in the next day or so, which will build a
x64 windows.

On Thu, Mar 27, 2014 at 11:02 AM, Matt Hickford notifications@github.comwrote:

If the issue is fixed in HEAD, please could you release a Gem to

#864 (comment)#864 (comment)

Reply to this email directly or view it on GitHubhttps://github.com//issues/864#issuecomment-38814483
.

@Quantumplation

This comment has been minimized.

Show comment
Hide comment
@Quantumplation

Quantumplation Apr 6, 2014

Oh, yes please! This is currently killing progress on my project.

Quantumplation commented Apr 6, 2014

Oh, yes please! This is currently killing progress on my project.

@starrychloe

This comment has been minimized.

Show comment
Hide comment
@starrychloe

starrychloe Apr 7, 2014

@babelfish @stibra You have to include a repository from Microsoft to install with Chocolatey:
-Source "https://go.microsoft.com/fwlink/?LinkID=230477"
http://www.nuget.org/packages/libxml2/

starrychloe commented Apr 7, 2014

@babelfish @stibra You have to include a repository from Microsoft to install with Chocolatey:
-Source "https://go.microsoft.com/fwlink/?LinkID=230477"
http://www.nuget.org/packages/libxml2/

@stibra

This comment has been minimized.

Show comment
Hide comment
@stibra

stibra Apr 7, 2014

I did install it finally, but it does not work anyway.

stibra commented Apr 7, 2014

I did install it finally, but it does not work anyway.

@flavorjones

This comment has been minimized.

Show comment
Hide comment
@flavorjones

flavorjones Apr 7, 2014

Member

This was merged and released as 1.6.2.rc1 yesterday. Please try it out.

Member

flavorjones commented Apr 7, 2014

This was merged and released as 1.6.2.rc1 yesterday. Please try it out.

@qubitspace

This comment has been minimized.

Show comment
Hide comment
@qubitspace

qubitspace Apr 7, 2014

This appears to be working great. Thanks to all who worked towards fixing this!

Release details here, you just have to install using --pre or specify the version.
https://groups.google.com/forum/#!topic/nokogiri-talk/hZCp6TPXekI

qubitspace commented Apr 7, 2014

This appears to be working great. Thanks to all who worked towards fixing this!

Release details here, you just have to install using --pre or specify the version.
https://groups.google.com/forum/#!topic/nokogiri-talk/hZCp6TPXekI

@larskanis

This comment has been minimized.

Show comment
Hide comment
@larskanis

larskanis Apr 9, 2014

Member

I did a test run on Windows 7 with the following RubyInstaller versions. Everything worked as expected:

VersionResult
ruby 2.0.0p247 (2013-06-27) [i386-mingw32]1279 tests, 2911 assertions, 0 failures, 0 errors, 3 skips
ruby 2.0.0p247 (2013-06-27) [x64-mingw32]1279 tests, 2911 assertions, 0 failures, 0 errors, 3 skips
ruby 1.9.3p392 (2013-02-22) [i386-mingw32]1311 tests, 3756 assertions, 0 failures, 0 errors, 3 skips

All above versions worked equally with the binary gem per gem inst nokogiri --pre as well as with native build gem inst nokogiri --pre --platform ruby if the matching Devkit is installed.

Member

larskanis commented Apr 9, 2014

I did a test run on Windows 7 with the following RubyInstaller versions. Everything worked as expected:

VersionResult
ruby 2.0.0p247 (2013-06-27) [i386-mingw32]1279 tests, 2911 assertions, 0 failures, 0 errors, 3 skips
ruby 2.0.0p247 (2013-06-27) [x64-mingw32]1279 tests, 2911 assertions, 0 failures, 0 errors, 3 skips
ruby 1.9.3p392 (2013-02-22) [i386-mingw32]1311 tests, 3756 assertions, 0 failures, 0 errors, 3 skips

All above versions worked equally with the binary gem per gem inst nokogiri --pre as well as with native build gem inst nokogiri --pre --platform ruby if the matching Devkit is installed.

@knu

This comment has been minimized.

Show comment
Hide comment
@knu

knu Apr 9, 2014

Member

@larskanis Thanks much for testing. Looks like Windows gems are building and working great!

Member

knu commented Apr 9, 2014

@larskanis Thanks much for testing. Looks like Windows gems are building and working great!

@flavorjones

This comment has been minimized.

Show comment
Hide comment
@flavorjones

flavorjones Apr 9, 2014

Member

Awesome, @larskanis! Thanks for all your help on Windows support.
On Apr 9, 2014 3:14 AM, "Lars Kanis" notifications@github.com wrote:

I did a test run on Windows 7 with the following RubyInstaller versions.
Everything worked as expected:
Version Result ruby 2.0.0p247 (2013-06-27) [i386-mingw32] 1279 tests,
2911 assertions, 0 failures, 0 errors, 3 skips ruby 2.0.0p247
(2013-06-27) [x64-mingw32] 1279 tests, 2911 assertions, 0 failures, 0
errors, 3 skips ruby 1.9.3p392 (2013-02-22) [i386-mingw32] 1311 tests,
3756 assertions, 0 failures, 0 errors, 3 skips

All above versions worked equally with the binary gem per gem inst
nokogiri --pre as well with native build gem inst nokogiri --pre
--platform ruby if the matching Devkit is installed.

Reply to this email directly or view it on GitHubhttps://github.com//issues/864#issuecomment-39935025
.

Member

flavorjones commented Apr 9, 2014

Awesome, @larskanis! Thanks for all your help on Windows support.
On Apr 9, 2014 3:14 AM, "Lars Kanis" notifications@github.com wrote:

I did a test run on Windows 7 with the following RubyInstaller versions.
Everything worked as expected:
Version Result ruby 2.0.0p247 (2013-06-27) [i386-mingw32] 1279 tests,
2911 assertions, 0 failures, 0 errors, 3 skips ruby 2.0.0p247
(2013-06-27) [x64-mingw32] 1279 tests, 2911 assertions, 0 failures, 0
errors, 3 skips ruby 1.9.3p392 (2013-02-22) [i386-mingw32] 1311 tests,
3756 assertions, 0 failures, 0 errors, 3 skips

All above versions worked equally with the binary gem per gem inst
nokogiri --pre as well with native build gem inst nokogiri --pre
--platform ruby if the matching Devkit is installed.

Reply to this email directly or view it on GitHubhttps://github.com//issues/864#issuecomment-39935025
.

@danielricecodes

This comment has been minimized.

Show comment
Hide comment
@danielricecodes

danielricecodes Apr 24, 2014

@larskanis I got the gem installed via Bundler successfully using Ruby 2.0.0 x64 on Windows 7. Many many thanks for contributing to this project!

danielricecodes commented Apr 24, 2014

@larskanis I got the gem installed via Bundler successfully using Ruby 2.0.0 x64 on Windows 7. Many many thanks for contributing to this project!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment