Currently we have one gem whose source repo is github and we added it as
gem 'xyz', :git => '[email protected]/sandip/abc.git'
Now, after changing some code at github repo. How do we update the same gem on heroku ? because heroku does not support command like -
heroku bundle update GEM_NAME
To connect a Heroku app with a GitHub repo, go to the app's “Deploy” tab on Heroku Dashboard and select the GitHub pane. If you haven't connected your Heroku and GitHub accounts, you will be prompted to complete the GitHub OAuth flow.
We are unable to access this connected repository on GitHub The authorization key is not valid, or the account used to connect to GitHub doesn't have access to the repository. Try disconnecting the repository above and then reconnect. That is the error I got when trying to connect my private GitHub repo to Heroku.
When you deploy to heroku the repository is private to the owner and the added collaborators.
You need to update your Gem locally in your bundle, commit and push:
bundle update
Your Gemfile.lock contains the versions of the gems to be used by the application.
GIT
remote: git://github.com/xyz/abc.git
revision: bc9ea93f50e848f71759669918635639b9f1aaa5
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With