【问题标题】:Error installing httparty安装 httparty 时出错
【发布时间】:2015-02-09 20:38:36
【问题描述】:

我已按照步骤正确安装 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 没有太多经验

【问题讨论】:

  • 你已经安装了make,并且存在于你的路径中?

标签: ruby gem httparty


【解决方案1】:

我正在使用 Ruby 1.8.9 Httparty 0.11.0 与我的 ruby​​ 版本兼容。

【讨论】:

    【解决方案2】:

    尝试将您的 RubyGems 更新为旧版本 rvm install rubygems 1.8.29,然后再次尝试安装 httparty。看起来这可能有效......但我也是 Ruby 的新手,所以我在这里猜测哈哈!

    【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-09-12
    • 2013-10-05
    • 2013-08-15
    • 2013-11-13
    • 2017-10-02
    相关资源
    最近更新 更多