support setting boolean environment variables #2144

Merged
merged 1 commit into from Feb 19, 2013

Projects

None yet

2 participants

@brettporter
Contributor

These were previously stored as a string if they are derived from the
environment or configuration files. Rather than altering each of the checks,
we can select a list of settings to convert to boolean values when they are
accessed.

I bumped into this specific problem trying to override bundle config --global frozen true with a BUNDLE_FROZEN=false environment variable.

@brettporter brettporter support setting boolean environment variables
These were previously stored as a string if they are derived from the
environment or configuration files. Rather than altering each of the checks,
we can select a list of settings to convert to boolean values when they are
accessed.
b4101be
@indirect
Member

Seems legit. Thanks!

@indirect indirect merged commit b4101be into bundler:master Feb 19, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment