【发布时间】:2012-12-10 13:50:00
【问题描述】:
我已经将一个应用程序部署到 Heroku,并且我目前将我的环境变量存储在一个 .env 文件中。我使用heroku config:push 将变量推送到heroku,效果很好。
现在,我想更新其中一个。我在 .env 文件中对其进行了更改,然后再次运行 heroku config:push。推送说成功了,但是当我运行heroku config 时,我可以看到这些值实际上并没有改变。我试过运行heroku restart,但没有任何效果。
如何在 heroku 中更新我的环境变量?
【问题讨论】:
标签: ruby-on-rails heroku environment-variables heroku-toolbelt