微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

ruby-on-rails – 安装json(1.8.6)时发生错误,Bundler无法继续

我试图运行bundle install命令,我得到以下错误.在阅读了一些stackoverflow帖子后,我还运行了bundle更新.

我仍然得到json~1.8.6 gem的问题(我猜).

An error occurred while installing json (1.8.6),and Bundler cannot
continue. Make sure that gem install json -v '1.8.6' succeeds before
bundling.
Here the issue is not getting installation done properly.

I tried installing gem separately.But still the problem exists.

解决方法

较旧版本的json gem与较新的ruby有一些不兼容性.尝试更新json gem bundle update json

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐