From @glenwong on June 4, 2015 23:19
If you have environment variables in your .env file that are surrounded by double quotes or start with an export they aren't handled correctly when pushed to deis. For example:
export REDIS_URL="redis://localhost:6379"
ends up as
export REDIS_URL: "redis://localhost:6379"
Where "export REDIS_URL" is the key and the value is still surrounded by double quotes which can then cause things to fail when the config is referenced.
Copied from original issue: deis/deis#3796