捆绑器为什么要这样做?

发布于 2024-11-06 16:25:21 字数 633 浏览 1 评论 0原文

我的 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

一场春暖 2024-11-13 16:25:21

我不知道我的问题的答案,但我能够通过从 Gemfile 中删除对特定发布候选版本 gem 的要求来修复它,然后:

gem cleanup
bundle update
bundle

修复了它。

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:

gem cleanup
bundle update
bundle

That fixed it.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文