[英]Ruby on Rails Could not find json-1.8.6 in any of the sources
When I run rails s
I get the following error: 当我运行
rails s
,出现以下错误:
Could not find json-1.8.6 in any of the sources.
在任何来源中都找不到json-1.8.6。 Run
bundle install
to install missing gems.运行
bundle install
以安装缺少的gem。
Does anyone know how I fix this? 有谁知道我该如何解决?
Here are the contents of my Gemfile . 这是我的Gemfile的内容。
And my gemfile.lock . 还有我的gemfile.lock 。
I'm using Ruby version 2.3.1p112 (2016-04-26 revision 54768) [x86_64-linux]
我正在使用Ruby版本
2.3.1p112 (2016-04-26 revision 54768) [x86_64-linux]
尝试gem update json
然后重试“捆绑安装”
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.