【发布时间】:2011-09-21 07:06:34
【问题描述】:
我在使用 nokogiri 的 gem 时遇到了这个问题:
无法打开库“C:\Ruby187\lib\ruby\gems\1.8\gems\nokogiri-1.4.6-x86-mingw32\ext\nokogiri\libxml2.dll”:未知
我读到我必须尝试 1.5.0.beta3 版本。但是,当我运行时
C:\Users\t3en4>gem install nokogiri --pre
Fetching: nokogiri-1.5.0.beta.4.gem (100%)
ERROR: Error installing nokogiri:
The 'nokogiri' 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'
我该怎么办?
【问题讨论】:
标签: ruby-on-rails gem jruby nokogiri