http://www.nokogiri.org/tutorials/installing_nokogiri.html Windows
Luckily for you, building on Windows is so difficult that we’ve done it for you: Nokogiri comes bundled with all the DLLs you need to be NOKOGIRIFIED! gem install nokogiri
我在 GitHub 下载的是一个 nokogiri 文件包,我应该把这个文件包放在什么地方,再运行 gem install nokogiri 呢?
把 DevKit
给配置起来后直接安装无影响
D:\>ruby -v
ruby 2.0.0p451 (2014-02-24) [i386-mingw32]
D:\>gem install nokogiri
Nokogiri is built with the packaged libraries: libxml2-2.8.0, libxslt-1.1.28, zlib-1.2.8, libiconv-1.14.
Successfully installed nokogiri-1.6.3.1-x86-mingw32
1 gem installed
#10 楼 @richard_ma 依赖系统环境的玩意换到哪都不行,之前看到有一个 gem 判断运行在 OS X 下的时候没有配置 homebrew 的话直接抛出异常,