减少 Heroku Bamboo 堆栈上的 slug 大小

发布于 2024-12-22 00:56:28 字数 462 浏览 2 评论 0原文

我已经看到了许多关于如何减小 Heroku slug 大小的问题和答案,但我无法让其改变。在如何减少heroku slug大小?中提到有一个错误在 Bundler 中,这意味着未使用的宝石不会被清除。

关于这个问题的评论之一说:

请注意,此问题现已通过 Bundler 修复。不再需要开立支持票

我有几个问题:

  1. 这是否意味着 Bundler 的更新版本现在已用于 Heroku Bamboo 堆栈中有此修复吗?
  2. 我可以控制 Heroku 使用哪个版本的 Bundler 吗?
  3. Heroku 是否在比“发布”版本更新的 Bundler 版本上运行?

I have seen a number of questions and answers on how to reduce your Heroku slug size but I can't get it to budge. In How to reduce heroku slug size? it is mentioned that there is a bug in Bundler that means that unused gems are not cleaned out.

One of the comments on that question says:

Note that this issue has now been fixed with Bundler. Opening a support ticket is no longer necessary

I have a few questions:

  1. Does this mean that an updated version of Bundler is now used on the
    Heroku Bamboo stack with this fix in it?
  2. Do I have any control over which version of Bundler is being used by Heroku?
  3. Is Heroku running on a newer version of Bundler then the "release" version?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(2

夏了南城 2024-12-29 00:56:28

这是否意味着 Heroku Bamboo 堆栈上现在使用了 Bundler 的更新版本并修复了此问题?

不,据我所知,Bamboo 上的 Bundler 没有改变

我是否可以控制 Heroku 使用哪个版本的 Bundler?

没有

Heroku 是否在比“发布”版本更新的 Bundler 版本上运行?

有时,例如,此时他们正在 Cedar 上运行 Bundler rc。

要减小 slug 大小,请查看开发中心文章:http://devcenter.heroku.com/articles/弹头大小

Does this mean that an updated version of Bundler is now used on the Heroku Bamboo stack with this fix in it?

No, as far as I am aware the Bundler has not changed on Bamboo

Do I have any control over which version of Bundler is being used by Heroku?

No

Is Heroku running on a newer version of Bundler then the "release" version?

Sometimes, for instance, at the moment they are running a Bundler rc on Cedar.

For reducing slug size, check the Dev Center article: http://devcenter.heroku.com/articles/slug-size

尴尬癌患者 2024-12-29 00:56:28

您可能遇到了几个月前这篇博客文章中报告的相同问题 - http://dazedthots.blogspot.com/2011/07/reducing-slug-size-heroku.html

You may be experiencing the same problem reported in this blog post from a few months ago - http://dazedthots.blogspot.com/2011/07/reducing-slug-size-heroku.html

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