Closed AskarZinurov closed 9 years ago
I hadn't seen this ticket, but I also had this problem and have sent a pull request to fix it.
Prax shouldn't crash but log a warning when a .env
file can't be properly sourced.
Prax understands .env
files as described by foreman and heroku config -s
, so it understandsSOME_VARIABLE=value
and transforms it as export SOME_VARIABLE=value
before sourcing.
I'm using dotenv-rails gem for storing some application configs. Gem allows to describe .env file in various formats https://github.com/bkeepers/dotenv/blob/master/lib/dotenv/parser.rb#L12:
and
But prax understands only: