【发布时间】:2015-01-15 22:58:57
【问题描述】:
我做了一个bundle install,但我(再次)收到此错误消息:
/Users/snowcrash/.rvm/gems/ruby-2.1.5/gems/bundler-1.7.11/lib/bundler/spec_set.rb:92:in `block in materialize': Could not find multi_json-1.10.1 in any of the sources (Bundler::GemNotFound)
我尝试过bundle install,但效果不佳。
建议?
==== 更新
$ bundle list | grep json
* json (1.8.2)
* multi_json (1.10.1)
查看我的 Gemfile,我似乎没有在 Gemfile 中指定 multi_json。我加了:
gem 'multi_json', '>=1.10.1'
重新运行bundle install然后得到:
Could not find sprockets-2.2.3 in any of the sources (Bundler::GemNotFound)
所以,我将这个添加到 Gemfile:
gem 'sprockets', '>=2.2.3'
bundle list 给出:
* sprockets (2.2.3)
然后,重新运行bundle install,但仍然得到:
Could not find sprockets-2.2.3 in any of the sources (Bundler::GemNotFound)
如果有帮助,我安装了以下 gem:
$ gem list | grep sprockets
middleman-sprockets (3.3.1)
sprockets (2.11.0, 2.10.0)
【问题讨论】:
-
显示您的 Gemfile。另外,
bundle list能带给你什么?