summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorThe Bundler Bot <bot@bundler.io>2017-10-05 22:40:19 +0000
committerThe Bundler Bot <bot@bundler.io>2017-10-05 22:40:19 +0000
commitdf1f8859229891c846d2fe849193907317027fd3 (patch)
treef5130509243438052926205c7691328ce1f22afd /doc
parent875c388dd3789fc89a44561ccd86ee5486d9ad6c (diff)
parente951fe68c52b3dbff8cd6b0f822986508de3f9cb (diff)
downloadbundler-df1f8859229891c846d2fe849193907317027fd3.tar.gz
Auto merge of #6075 - bundler:colby/ruby-env-dir, r=segiddins
Fix uninitialised constant Gem::ConfigFile::SYSTEM_CONFIG_PATH This is the same PR as #6073 but now being merged for master ### What was the end-user problem that led to this PR? `bundle env` uses the constant `Gem::ConfigFile::SYSTEM_CONFIG_PATH` which is not defined in early versions of RubyGems. See: https://travis-ci.org/bundler/bundler/builds/276981165 ### What is your fix for the problem, implemented in this PR? While `SYSTEM_CONFIG_PATH` is not defined for earlier versions of RubyGems, a constant called `Gem::ConfigFile::SYSTEM_WIDE_CONFIG_FILE` does appear to be both in current and early versions of RubyGems which contains the path (plus the ruby config file) we want. ### Why did you choose this fix out of the possible options? This fix is compatible with all the tested versions of RubyGems in CI and is not overly complex.
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions