gpt4 book ai didi

ruby-on-rails - 为什么没有 “heroku bundle update”?

转载 作者:行者123 更新时间:2023-12-04 13:34:50 34 4
gpt4 key购买 nike

我不明白为什么我必须在本地更新我的gem并将其推送到heroku,以获取它们的更新版本?
为什么没有heroku bundle update命令?

最佳答案

当您bundle update或运行任何等效的CLI命令时,我相信Bundler会更新您的Gemfile.lock文件-该文件将保留所有gem依赖项的树-并且git存储库(see here for more info)会跟踪该锁定文件。

如果您能够直接在Heroku上运行命令,那么您将不得不再次拉出存储库,否则您将遇到git fast-forward问题。

因此,实际上,您不必通过本地执行并将其推回的方式来运行任何其他命令。

关于ruby-on-rails - 为什么没有 “heroku bundle update”?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5296487/

34 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com