-
Notifications
You must be signed in to change notification settings - Fork 630
Closed
Labels
Description
Something changed from 0.76.0 to 0.78.0. For an .env file like:
PIES=yummy
CAKES=$PIES
The loaded values are:
ENV['CAKES'] == "yummy" in 0.76.0
ENV['CAKES'] == "$PIES" in 0.78.0
Dotenv (1.0.2) seems to be doing its job properly, but Dotenv.load doesn't overwrite existing keys, which already have the un-evaluated variables from Foreman. I've only looked into it far enough to see at this point: https://github.com/ddollar/foreman/blob/master/lib/foreman/cli.rb#L88, engine.env is correct in 0.76.0, but incorrect in 0.78.0.
adamlwgriffiths, brand-it and julioalucero