2017-03-16 34 views
-7

我已經在我的Rails應用程序升級的Ruby 2.4.0版本,但是當我嘗試bundle install,我面臨着以下錯誤:升級的Ruby 2.4.0

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 
+5

你能顯示完整的日誌信息嗎? – AndreyS

+0

你嘗試過'$ bundle update json',然後再捆綁它嗎? – kparekh01

+0

是的,但沒有修復 – aliAsadi92

回答

2

json(1.8.3)是不兼容的紅寶石2.4.0。嘗試使用更新的版本。

$ bundle update json

+0

Thanks Hossein:D – aliAsadi92