我做了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 list | grep sprockets
middleman-sprockets (3.3.1)
sprockets (2.11.0, 2.10.0)
答案 0 :(得分:-1)
这对我有用:
gem uninstall bundler
至少,罗盘和其他东西在拆除捆绑器后开始工作。