I don’t understand why i have to update my gems localy and push it to heroku, to get the updated version of them?
why there is no heroku bundle update command?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
When you
bundle updateor run any of the equivalent CLI commands, I believe Bundler updates your Gemfile.lock file – which keeps a tree of all your gem dependencies – and the lock file is tracked by your git repository (see here for more info).If you were able to run the command directly on Heroku, then you’d have to pull your repository again, otherwise you’d have a git fast-forward issue on your hands.
So really, you’re not running any more commands by having to do it locally and push it back up.