未能在Heroku上启用user

编程入门 行业动态 更新时间:2024-10-28 00:14:32
本文介绍了未能在Heroku上启用user-env-compile的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我试图在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

本文发布于:2023-10-13 09:30:53,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1487571.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:能在   Heroku   user

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!