Heroku config:push not updating environment variables
environment-variables, heroku, heroku-toolbelt, ruby-on-rails
Solution
Figured it out. You need to run `heroku config:push --overwrite` because it won't overwrite existing variables by default. This is poorly documented :-/
Problem
I've deployed an app to Heroku, and I'm currently storing my environment variables in an .env file. I used `heroku config:push` to push the variables up to heroku, and that worked fine. Now, I want to update one of them. I changed it in my .env file, and ran `heroku config:push` again. The push said it was successful, but when I run `heroku config`, I can see that the values actually haven't changed. I've tried running `heroku restart`, but that didn't do anything. How can I update my environment variables in heroku?