我有一个因为在供应商/缓存中找不到某些宝石而失败的EngineYard部署。但是看看当我运行"捆绑":
时会发生什么Updating .gem files in vendor/cache
* rspec-core-2.6.0.rc6.gem
* rspec-expectations-2.6.0.rc6.gem
* rspec-mocks-2.6.0.rc6.gem
* rspec-2.6.0.rc6.gem
* rspec-rails-2.6.0.rc6.gem
Removing outdated .gem files from vendor/cache
* rspec-2.6.0.rc6.gem
* rspec-core-2.6.0.rc6.gem
* rspec-expectations-2.6.0.rc6.gem
* rspec-mocks-2.6.0.rc6.gem
* rspec-rails-2.6.0.rc6.gem
Your bundle is complete! Use `bundle show [gemname]` to see where a bundled gem is installed.
这些是导致我的部署出现问题的宝石。首先它表示它正在更新它们,然后它说它正在删除它们。我该如何解决这个问题?
答案 0 :(得分:0)
我不知道我的问题的答案,但我能够通过从我的Gemfile中删除对特定发布候选版本gem的要求来修复它,然后:
gem cleanup
bundle update
bundle
修正了它。