Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/heroku/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何在heroku上以github url的形式更新gem?_Heroku - Fatal编程技术网

如何在heroku上以github url的形式更新gem?

如何在heroku上以github url的形式更新gem?,heroku,Heroku,目前,我们有一个gem,其源repo是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包含应用程序要使用的gems

目前,我们有一个gem,其源repo是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包含应用程序要使用的gems版本

   GIT
     remote: git://github.com/xyz/abc.git
     revision: bc9ea93f50e848f71759669918635639b9f1aaa5