Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

failing to enable user-env-compile on Heroku

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

like image 906
fedetaglia Avatar asked Oct 20 '22 10:10

fedetaglia


1 Answers

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.

like image 97
Luc Boissaye Avatar answered Oct 23 '22 02:10

Luc Boissaye