我试图在heroku上上传我的rails应用程序,方法是启用用户-env-compile来管理我的密钥,但我有一个错误没有这样的功能:用户env编译。
我检查了Heroku devcenter,似乎是用户-env-compile已被弃用,并由ENV_DIR参数取代。
这里的链接: devcenter.heroku/articles/labs-user-env-compile
我真的不能做什么!有人可以向我解释我应该做的更好吗?
谢谢,
Federico 您不必做任何事情(实验室已被弃用,您应该删除它),默认情况下,现在heroku正在导出您的请注意,不推荐在slug编译期间使用environement变量(您可以检查 12factor/ 获取更多信息)
希望它有帮助。
it is the first time I ask for something so sorry if I'm not enough precise!
I tried to upload my rails app on heroku using enabling the user-env-compile to manage my secret keys but I have an error "No such feature: user-env-compile".
I checked on Heroku devcenter and seems that user-env-compile has been deprecated and replaced by the ENV_DIR argument.
Here the link: devcenter.heroku/articles/labs-user-env-compile
I cant really get what to do! can someone explain better to me what I'm supposed to do?
thank you,
Federico
解决方案You don't have to do anything (the labs is deprecated and you should delete it), by default now heroku is exporting your environement variables during slug compilation.
Be careful, it is not recommended to use the environement variable during slug compilation (you can check 12factor/ for more informations)
Hope it helps.
更多推荐
未能在Heroku上启用user
发布评论