summaryrefslogtreecommitdiff
path: root/lib/bundler/env.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bundler/env.rb')
-rw-r--r--lib/bundler/env.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bundler/env.rb b/lib/bundler/env.rb
index 80974b67ce..3216eb2776 100644
--- a/lib/bundler/env.rb
+++ b/lib/bundler/env.rb
@@ -100,8 +100,8 @@ module Bundler
out << [" Full Path", Gem.ruby]
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) }]
+ out << [" Gem Home", Gem.dir]
+ out << [" Gem Path", Gem.path.join(File::PATH_SEPARATOR)]
out << [" User Home", Gem.user_home]
out << [" User Path", Gem.user_dir]
out << [" Bin Dir", Gem.bindir]