flynn/flynn — pull request #25 by jschneiderhan (2014-08-03 00:14:22+00:00)
Title: Do not override environment variables if set

Hi and thanks for all of the great work on this project! I have a small improvement to propose.

It looks like environment variables are overwritten by `./profile.d/config_vars` even if they are explicitly set via the `-e` flag to `docker run`. My interpretation rom reading the ruby buildpack source (https://github.com/heroku/heroku-buildpack-ruby/blob/588746851e1468dce5e72a8e0339100a5a52d6c6/lib/language_pack/base.rb#L99) is that the values in `config_vars` are intended to be defaults. If that is the case, the values should only be used if they are not defined. If I'm wrong about that, and they are intended to force a value for a variable, then this change is not appropriate.