减少 Heroku Bamboo 堆栈上的 slug 大小
我已经看到了许多关于如何减小 Heroku slug 大小的问题和答案,但我无法让其改变。在如何减少heroku slug大小?中提到有一个错误在 Bundler 中,这意味着未使用的宝石不会被清除。
关于这个问题的评论之一说:
请注意,此问题现已通过 Bundler 修复。不再需要开立支持票
我有几个问题:
- 这是否意味着 Bundler 的更新版本现在已用于 Heroku Bamboo 堆栈中有此修复吗?
- 我可以控制 Heroku 使用哪个版本的 Bundler 吗?
- 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:
- Does this mean that an updated version of Bundler is now used on the
Heroku Bamboo stack with this fix in it? - Do I have any control over which version of Bundler is being used by Heroku?
- Is Heroku running on a newer version of Bundler then the "release" version?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这是否意味着 Heroku Bamboo 堆栈上现在使用了 Bundler 的更新版本并修复了此问题?
我是否可以控制 Heroku 使用哪个版本的 Bundler?
Heroku 是否在比“发布”版本更新的 Bundler 版本上运行?
要减小 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?
Do I have any control over which version of Bundler is being used by Heroku?
Is Heroku running on a newer version of Bundler then the "release" version?
For reducing slug size, check the Dev Center article: http://devcenter.heroku.com/articles/slug-size
您可能遇到了几个月前这篇博客文章中报告的相同问题 - 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