summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-03-08 12:03:59 +0100
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2019-03-20 14:22:38 +0100
commit6f396645f41c3210c2dba3bcc86778103a01f71a (patch)
tree73d83296abe04b1b4858cc0a2fe6922830bc52db
parentf957d74e43f7db9f117585dbc95d5d7adf90a68c (diff)
downloadbundler-6f396645f41c3210c2dba3bcc86778103a01f71a.tar.gz
`finish_resolve` is not actually needed
-rwxr-xr-xbin/rake2
-rwxr-xr-xbin/rspec2
-rwxr-xr-xbin/rubocop2
3 files changed, 0 insertions, 6 deletions
diff --git a/bin/rake b/bin/rake
index 6c08fb0b97..cf4131d5b0 100755
--- a/bin/rake
+++ b/bin/rake
@@ -14,8 +14,6 @@ rake_requirement = rake.requirement.to_s
begin
gem "rake", rake_requirement
- Gem.finish_resolve if Gem.respond_to?(:finish_resolve)
-
load Gem.bin_path("rake", "rake")
rescue Gem::LoadError
warn "We couln't activate rake (#{rake_requirement}). Run `gem install rake:'#{rake_requirement}'`"
diff --git a/bin/rspec b/bin/rspec
index 4ef45c9b32..a3980e6744 100755
--- a/bin/rspec
+++ b/bin/rspec
@@ -14,8 +14,6 @@ rspec_requirement = rspec.requirement.to_s
begin
gem "rspec", rspec_requirement
- Gem.finish_resolve if Gem.respond_to?(:finish_resolve)
-
load Gem.bin_path("rspec-core", "rspec")
rescue Gem::LoadError
warn "We couln't activate rspec (#{rspec_requirement}). Try `gem install rspec:'#{rspec_requirement}'`"
diff --git a/bin/rubocop b/bin/rubocop
index ac84b47963..ef86f084a9 100755
--- a/bin/rubocop
+++ b/bin/rubocop
@@ -14,8 +14,6 @@ rubocop_requirement = rubocop.requirement.to_s
begin
gem "rubocop", rubocop_requirement
- Gem.finish_resolve if Gem.respond_to?(:finish_resolve)
-
load Gem.bin_path("rubocop", "rubocop")
rescue Gem::LoadError
warn "We couln't activate rubocop (#{rubocop_requirement}). Try `gem install rubocop:'#{rubocop_requirement}'`"