捆绑器为什么要这样做?
我的 EngineYard 部署由于在供应商/缓存中找不到某些 gem 而失败。但是看看当我运行“bundle”时会发生什么:
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.
这些是导致我的部署出现问题的宝石。首先它说正在更新它们,然后它说正在删除它们。我该如何解决这个问题?
I have an EngineYard deployment that is failing due to certain gems not being found in vendor/cache. But look at what happens when I run "bundle":
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.
These are the gems that are causing a problem with my deployment. First it says it's updating them, then it says it's deleting them. How do I fix this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我不知道我的问题的答案,但我能够通过从 Gemfile 中删除对特定发布候选版本 gem 的要求来修复它,然后:
修复了它。
I don't know the answer to my question, but I was able to fix it by removing a requirement for a specific release-candidate version gem from my Gemfile, then:
That fixed it.