【发布时间】:2017-03-16 16:27:05
【问题描述】:
我已在我的 Rails 应用程序中将 Ruby 升级到 2.4.0 版,但是当我尝试 bundle install 时,我遇到以下错误:
An error occurred while installing json (1.8.3), and Bundler cannot continue.
Make sure that `gem install json -v '1.8.3'` succeeds before
【问题讨论】:
-
你能显示完整的日志信息吗?
-
你试过
$ bundle update json然后再把它捆绑起来吗? -
是的,但没有修复
-
你是如何更新 Ruby 的?您是否确认您确实运行了新版本?你是如何安装
bundler的?json安装失败后是否按照错误提示进行操作?
标签: ruby-on-rails ruby bundler ruby-upgrade