Вопрос

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.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top