summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Arko <andre@arko.net>2016-05-31 23:51:17 -0700
committerAndre Arko <andre@arko.net>2016-05-31 23:51:17 -0700
commite85683ca56f9348794843dc39ad89577ff44f856 (patch)
treeede5c01ff8307cf3adff5a61bc2bcb6fb3ae08ac
parent4fdd3720f4e820c245b3791c963c68adf5294fbf (diff)
downloadbundler-e85683ca56f9348794843dc39ad89577ff44f856.tar.gz
oops. ORIGINAL_ENV only has this when nested
-rw-r--r--lib/bundler/shared_helpers.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/shared_helpers.rb b/lib/bundler/shared_helpers.rb
index d190e79b9d..f8e85544fa 100644
--- a/lib/bundler/shared_helpers.rb
+++ b/lib/bundler/shared_helpers.rb
@@ -33,7 +33,7 @@ module Bundler
gemfile = find_gemfile
if gemfile.nil?
- gemfile_name = Bundler::ORIGINAL_ENV.fetch('BUNDLE_GEMFILE', 'gems.rb')
+ gemfile_name = ENV.fetch('BUNDLE_GEMFILE', 'gems.rb')
raise GemfileNotFound, "Could not locate #{gemfile_name}"
end