这是我尝试命令“ gem install mechanize ”时出现的错误
Building native extensions. This could take a while...
C:/Ruby/bin/ruby.exe extconf.rb
checking for libxml/parser.h... no
-----
libxml2 is missing. please visit http://nokogiri.org/tutorials/installing_nokog
iri.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.
然后我尝试使用“ gem install libxml ”安装 libxml 并返回以下错误
ERROR: Possible alternatives: eimxml, eim_xml, irxml, libacl, libowl
如果有任何 EXE 或预编译的安装程序可以安装具有所有依赖项的 mechanize,那就更好了。
我正在使用 Windows7(64 位)和 ruby 2.0.0p247 (2013-06-27) [x64-mingw32]