加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

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

发布时间:2020-12-17 02:10:14 所属栏目:百科 来源:网络整理
导读:我试图运行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
我试图运行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

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读