我遵循了正确安装httparty的步骤,包括安装开发工具包。但我仍然得到以下错误。
C:\Ruby193>gem install httparty
Temporarily enhancing PATH to include DevKit...
Building native extensions. This could take a while...
ERROR: Error installing httparty:
ERROR: Failed to build gem native extension.
C:/Ruby193/bin/ruby.exe extconf.rb
creating Makefile
make
'make' is not recognized as an internal or external command,
operable program or batch file.
Gem files will remain installed in C:/Ruby193/lib/ruby/gems/1.9.1/gems/json-1.8.
2 for inspection.
Results logged to C:/Ruby193/lib/ruby/gems/1.9.1/gems/json-1.8.2/ext/json/ext/ge
nerator/gem_make.out我对Ruby没有太多经验
发布于 2017-09-08 03:00:53
我正在使用Ruby 1.8.9,Httparty 0.11.0与我的ruby版本兼容。
发布于 2015-02-10 05:23:14
请尝试将您的RubyGems更新为旧版本的rvm install rubygems 1.8.29,然后再次尝试安装httparty。看起来可能是work...but,我也是个新手,所以我猜是这样的,哈哈!
https://stackoverflow.com/questions/28418909
复制相似问题