未能在Heroku上启用user-env-compile [英] failing to enable user-env-compile on Heroku

查看:124
本文介绍了未能在Heroku上启用user-env-compile的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我试图在heroku上上传我的rails应用程序,方法是启用用户-env-compile来管理我的密钥,但我有一个错误没有这样的功能:用户env编译。

我检查了Heroku devcenter,似乎是用户-env-compile已被弃用,并由ENV_DIR参数取代。



这里的链接:
https://devcenter.heroku.com/articles/labs-user-env-compile



我真的不能做什么!有人可以向我解释我应该做的更好吗?



谢谢,



Federico

您不必做任何事情(实验室已被弃用,您应该删除它),默认情况下,现在heroku正在导出您的



请注意,不推荐在slug编译期间使用environement变量(您可以检查 http://12factor.net/ 获取更多信息)



希望它有帮助。


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: https://devcenter.heroku.com/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 http://12factor.net/ for more informations)

Hope it helps.

这篇关于未能在Heroku上启用user-env-compile的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆