diff options
author | Colby Swandale <colby@taplaboratories.com> | 2017-10-04 23:14:08 +1100 |
---|---|---|
committer | Colby Swandale <colby@taplaboratories.com> | 2017-10-04 23:37:57 +1100 |
commit | f0ff8fc7b6b7ff14166e416359cbd4a3bf9105c2 (patch) | |
tree | fba7af854c1c0da3bd39d30265415851d84d9133 | |
parent | ef569f46b08fc67c6993b6153c4abd7e01c9af3e (diff) | |
download | bundler-f0ff8fc7b6b7ff14166e416359cbd4a3bf9105c2.tar.gz |
source ruby global config dir from Gem::ConfigFile::SYSTEM_WIDE_CONFIG_FILEcolby/gem-env-dir
-rw-r--r-- | lib/bundler/env.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/env.rb b/lib/bundler/env.rb index 437dafc65f..58fe20dbe7 100644 --- a/lib/bundler/env.rb +++ b/lib/bundler/env.rb @@ -104,7 +104,7 @@ module Bundler out << [" Platforms", Gem.platforms.join(", ")] out << ["Ruby", ruby_version] out << [" Full Path", Gem.ruby] - out << [" Config Dir", Gem::ConfigFile::SYSTEM_CONFIG_PATH] + out << [" Config Dir", Pathname.new(Gem::ConfigFile::SYSTEM_WIDE_CONFIG_FILE).dirname] out << ["RubyGems", Gem::VERSION] out << [" Gem Home", ENV.fetch("GEM_HOME") { Gem.dir }] out << [" Gem Path", ENV.fetch("GEM_PATH") { Gem.path.join(File::PATH_SEPARATOR) }] |