ruby - 确保 `gem install json -v ' 1.7。 7'` 打包成功。

标签 ruby json

我尝试创建一个新项目,但出现此错误。
这是什么意思?

Gem files will remain installed in C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/json-1.7.7 for inspection. Results logged to C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/json-1.7.7/ext/json/ext/generator/gem_make.out An error occured while installing json (1.7.7), and Bundler cannot continue. Make sure that gem install json -v '1.7.7' succeeds before bundling.

最佳答案

我的 猜测 是 json gem 需要一个 C 编译器,而你没有。不过,您可以通过输入 gem install json -v 1.7.7 来了解更多信息。

关于ruby - 确保 `gem install json -v ' 1.7。 7'` 打包成功。,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14862702/

相关文章:

python - 更小的应用足迹是否意味着更便宜的 PaaS 成本?哪种语言?

ruby-on-rails - rails : How to use scope to find an element in array of arrays

ruby-on-rails - Ruby on rails - 参数数量错误(2 为 1)[Rails]

ruby-on-rails - 状态机、模型验证和 RSpec

javascript - AJAX - 如果 JSON 发生更改,则重新加载页面

ruby - 获取S3对象的下载流并将其传递给ruby中的另一个方法

json - 使用保存到桌面的 json 文件作为输入运行 json-2-csv npm

php - Facebook 网站上的图片库 (PHP/JSON)

json - Parse Karma-Coverage | Istanbul 尔报告

javascript - 将所有状态值传递给子组件