Skip to content
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 · Fixed by #989
Closed

Support Ruby x64 on Windows #864

davispuh opened this issue Mar 14, 2013 · 108 comments · Fixed by #989

Comments

@davispuh
Copy link

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
Copy link

+1

@sroller
Copy link

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
Copy link

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
Copy link

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

@sroller
Copy link

sroller commented Mar 18, 2013

I'm happy to help testing.

@stibra
Copy link

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
Copy link

zhon commented Mar 23, 2013

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

@flavorjones
Copy link
Member

@zhon - I don't understand your comment.

@zhon
Copy link

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
Copy link

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

@fbehrens
Copy link

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

@mrigeshpriyadarshi
Copy link

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

@davispuh
Copy link
Author

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

@flavorjones
Copy link
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.

@jphastings
Copy link

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

@kimostler
Copy link

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

@phrozen
Copy link

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
Copy link

👍 +1

@flavorjones
Copy link
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.

@davispuh
Copy link
Author

thanks for showing where's roadblock :)

@helgeho
Copy link

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
Copy link

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
Copy link

@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
Copy link

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
Copy link

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

@theglauber
Copy link

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 [email protected]:

@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 - [email protected]
My CDs: http://snipr.com/tbvqg
http://snipr.com/72my0 http://snipr.com/tbvrb

@luislavena
Copy link
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.

@lolmaus
Copy link

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
Copy link

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
Copy link

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

@lolmaus
Copy link

lolmaus commented Mar 5, 2014

Seems legit. :)

@starrychloe
Copy link

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

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

@babelfish
Copy link

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

@stibra
Copy link

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

@stibra
Copy link

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
Copy link

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
Copy link

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
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
Copy link
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 [email protected]:

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
Copy link

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

@starrychloe
Copy link

@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
Copy link

stibra commented Apr 7, 2014

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

@flavorjones
Copy link
Member

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

@qubitspace
Copy link

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

@knu
Copy link
Member

knu commented Apr 9, 2014

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

@flavorjones
Copy link
Member

Awesome, @larskanis! Thanks for all your help on Windows support.
On Apr 9, 2014 3:14 AM, "Lars Kanis" [email protected] 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
Copy link

@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
Labels
None yet
Projects
None yet