首页
学习
活动
专区
工具
TVP
发布
社区首页 >问答首页 >gem install json -v 1.7.3提供了“请更新您的路径以包含构建工具”

gem install json -v 1.7.3提供了“请更新您的路径以包含构建工具”
EN

Stack Overflow用户
提问于 2012-05-22 10:20:47
回答 3查看 58.9K关注 0票数 71

当我运行时:

代码语言:javascript
复制
rails new blog

我得到了:

代码语言:javascript
复制
Installing json (1.7.3)
Gem::InstallError: 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'
An error occurred while installing json (1.7.3), and Bundler cannot continue.
Make sure that `gem install json -v '1.7.3'` succeeds before bundling.

当我运行时:

代码语言:javascript
复制
gem install json -v 1.7.3

我得到了:

代码语言:javascript
复制
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'

我使用的是Windows8,我的路径中确实有c:\ruby193\bin。我该怎么做才能纠正这些错误?

EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/10694997

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档