postrank-labs/goliath — pull request #180 by timblair (2012-05-08 14:39:01+00:00)
Title: Stop runner overwriting RACK_ENV environment variable.

Although a `Goliath::Application` will pull its environment from `RACK_ENV` (if provided), the built-in `Goliath::Runner` only responds to the `-e` flag on the command line, and will override a value provided by `RACK_ENV`.

This minor change just stops the Runner overwriting `Goliath.env` if it already has a value, and means you can now use `RACK_ENV` instead of the `-e` flag.