summaryrefslogtreecommitdiff
path: root/lib/bundler/templates
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-07-16 11:50:56 +0200
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2019-07-23 16:43:59 +0200
commit72194d1aacf52c3f634ddee97a57e70b173bf9db (patch)
treec036d45784e0ea2897377f352fdbb57e9abd24fe /lib/bundler/templates
parent50ccdb32c27738d2677aee3bb671d46381a50267 (diff)
downloadbundler-72194d1aacf52c3f634ddee97a57e70b173bf9db.tar.gz
Remove unnecessary method parameter
Diffstat (limited to 'lib/bundler/templates')
-rw-r--r--lib/bundler/templates/Executable.bundler4
1 files changed, 2 insertions, 2 deletions
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