Environment variables on production

后端 未结 3 1319
长情又很酷
长情又很酷 2021-01-05 20:25

I’m currently deploying my Rails application on Amazon and I’m facing a problem with environment variables.

I\'m using the dotenv gem on development and testing and

3条回答
  •  时光取名叫无心
    2021-01-05 21:24

    In Capistrano 3 add require "dotenv/rails-now" to your Capfile. This will make sure that capistrano has access to the environment as well.

    (We had issues with capistrano accessing the API token for appsignal, so capistrano wasn't able to notify appsignal when a new deploy was done)

提交回复
热议问题