阅读背景:

为什么我的Rails初始化器在控制台中缓存ENV变量(Foreman,Dev env)

来源:互联网 

What started as a minor annoyance has now turned into a headache. I am building a Rails 4 app and am using Foreman for my dev setup with a Procfile and .env file for configuration. When I set an ENV variable in the .env file, it is correctly picked up by my app. In this case I am setting some ENV options for Paperclip in an initializer.What started as a minor annoyance has now turne




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: