Rails: Bundler::GemNotFound

Sno*_*ash 1 ruby ruby-on-rails bundler

我在 Passenger 上使用 Rails 并得到:

Could not find multi_json-1.7.3 in any of the sources (Bundler::GemNotFound)
Run Code Online (Sandbox Code Playgroud)

我想我只需要安装 multi_json 但它在几天前就可以工作了,所以我很好奇 - 解决这个问题的最佳方法是什么?

zea*_*soi 5

在进行系统更新后,我在 OSX 10.8 上遇到了完全相同的问题。运行后bundle update,我能够让事情再次正常工作。

bundle update为我工作时,在我的研究中,我遇到了其他用户的引用,他们声称通过删除他们的vendor/cache文件夹成功解决了这个问题,从而迫使 Bundler 重建现有的 gem 安装。