【问题标题】:Could not find multi_json-1.10.1 in any of the sources (Bundler::GemNotFound)在任何源中都找不到 multi_json-1.10.1 (Bundler::GemNotFound)
【发布时间】: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 能带给你什么?

标签: ruby bundler


【解决方案1】:

这对我有用:

gem uninstall bundler

至少,指南针和其他东西在移除捆绑器后开始工作。

【讨论】:

    猜你喜欢
    • 2014-06-18
    • 2018-04-08
    • 2012-04-19
    • 2015-03-04
    • 2014-07-11
    • 2012-06-08
    • 2019-11-16
    • 2014-06-05
    • 2014-06-05
    相关资源
    最近更新 更多