我已按照步骤正确安装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的经验
答案 0 :(得分:1)
我正在使用Ruby 1.8.9 Httparty 0.11.0与我的ruby版本兼容。
答案 1 :(得分:-2)
尝试将RubyGems更新为旧版本rvm install rubygems 1.8.29
,然后再次尝试安装httparty。它看起来可能有用...但我也是Ruby的新手,所以我在这里猜测哈哈!