将 ruby 升级到 2.4.0
Upgrade ruby to 2.4.0
我已经在我的 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
json(1.8.3)
与 ruby 2.4.0
不兼容。尝试使用较新的版本。
$ bundle update json
我已经在我的 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
json(1.8.3)
与 ruby 2.4.0
不兼容。尝试使用较新的版本。
$ bundle update json