以下是在服务器上运行bundle install vendor/gems的错误:
Installing nokogiri (1.5.0) with native extensions
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
/home/dtt/.rvm/rubies/ruby-1.9.2-p290/bin/ruby extconf.rb
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 …
Run Code Online (Sandbox Code Playgroud) 我在办公室使用代理脚本连接到互联网.结果我的命令提示符(Win XP)没有连接,我只能使用浏览器访问网络.
有没有我可以手动安装一些我需要的红宝石 - 不使用
gem install 'abc'
Run Code Online (Sandbox Code Playgroud)
或者有没有办法让我的命令提示符连接到互联网.虽然我的IE设置确实使用了脚本,但我仍然无法让CMD连接.