diff --git a/lib/bundler/templates/Executable.bundler b/lib/bundler/templates/Executable.bundler index b5008d7c63..58667024b1 100644 --- a/lib/bundler/templates/Executable.bundler +++ b/lib/bundler/templates/Executable.bundler @@ -75,10 +75,10 @@ m = Module.new do def load_bundler! ENV["BUNDLE_GEMFILE"] ||= gemfile - activate_bundler(bundler_requirement) + activate_bundler end - def activate_bundler(bundler_requirement) + def activate_bundler gem_error = activation_error_handling do gem "bundler", bundler_requirement end