Nick Reshetnikov
Nick Reshetnikov
@jfadgen, @deepakmahakale, I ran into a similar issue in a recent rails project and figured out that the problem is that ENV variables haven't been loaded yet when the config...
yeah, I see what you're saying, but the issue is that a lot of teams use `.env` files for dev/test environments, but manage environment variables directly on staging/prod servers (e.g....
@jfadgen I in fact saw this issue while using `"dotenv-rails"`
actually, I just discovered that you can require `dotenv/rails-now` (https://github.com/bkeepers/dotenv/blob/master/lib/dotenv/rails-now.rb) in your gemfile to solve the issue: ``` gem 'dotenv-rails', require: 'dotenv/rails-now' ``` this will ensure that dotenv files are...