summaryrefslogtreecommitdiff
path: root/lib/bundler/postit_trampoline.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bundler/postit_trampoline.rb')
-rw-r--r--lib/bundler/postit_trampoline.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/bundler/postit_trampoline.rb b/lib/bundler/postit_trampoline.rb
index 2a22489954..b62a5e7676 100644
--- a/lib/bundler/postit_trampoline.rb
+++ b/lib/bundler/postit_trampoline.rb
@@ -8,11 +8,11 @@ environment = BundlerVendoredPostIt::PostIt::Environment.new([])
version = Gem::Requirement.new(environment.bundler_version)
if version.requirements.size == 1 && version.requirements.first.first == "=" # version.exact?
if version.requirements.first.last.segments.first >= 2
- ENV["BUNDLE_ENABLE_TRAMPOLINE"] = "true"
+ ENV["BUNDLE_TRAMPOLINE_FORCE"] = "true"
end
end
-if ENV["BUNDLE_ENABLE_TRAMPOLINE"] && !ENV["BUNDLE_DISABLE_POSTIT"]
+if ENV["BUNDLE_TRAMPOLINE_FORCE"] && !ENV["BUNDLE_TRAMPOLINE_DISABLE"]
installed_version =
if defined?(Bundler::VERSION)
Bundler::VERSION
@@ -70,4 +70,4 @@ You're running Bundler #{installed_version} but this project uses #{running_vers
abort "The running bundler (#{running_version}) does not match the required `#{version}`"
end
-end # if ENV["BUNDLE_ENABLE_TRAMPOLINE"] && !ENV["BUNDLE_DISABLE_POSTIT"]
+end # if ENV["BUNDLE_TRAMPOLINE_FORCE"] && !ENV["BUNDLE_TRAMPOLINE_DISABLE"]