gpt4 book ai didi

heroku - 如何更新在heroku上将源作为github url的gem?

转载 作者:行者123 更新时间:2023-12-04 10:20:17 24 4
gpt4 key购买 nike

目前我们有一个 gem,其源代码库是 github,我们将其添加为

gem 'xyz', :git => 'git@github.com/sandip/abc.git'

现在,在 github repo 中更改了一些代码之后。我们如何在 heroku 上更新相同的 gem?
因为 heroku 不支持这样的命令 -
heroku bundle update GEM_NAME

最佳答案

你需要在你的包中本地更新你的 Gem,提交和推送:

bundle update

您的 Gemfile.lock 包含应用程序要使用的 gem 的版本。
   GIT
remote: git://github.com/xyz/abc.git
revision: bc9ea93f50e848f71759669918635639b9f1aaa5

关于heroku - 如何更新在heroku上将源作为github url的gem?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9374163/

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