【发布时间】:2014-09-23 11:50:29
【问题描述】:
当我尝试安装此 gem 时,它声称我需要安装 devkit,尽管我确信我确实拥有它。它还表明我需要更新 PATH 中的系统变量,这些变量已直接链接到 ruby 中的 devkit 文件。我在 Stack Overflow 上看到过其他问题,但它们不适用于我的问题。 这是完整的错误信息:
C:\Users\Mahamoud>gem install json
ERROR: Error installing json:
The 'json' native gem requires installed build tools.
Please update your PATH to include build tools or download the DevKit
from 'http://rubyinstaller.org/downloads' and follow the instructions
at 'http://github.com/oneclick/rubyinstaller/wiki/Development-Kit'
我已经尝试卸载并重新安装 ruby,但仍然没有结果。 我的 devkit 位于 C:\Ruby193\bin
【问题讨论】: