diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-03-08 12:03:59 +0100 |
---|---|---|
committer | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-03-20 14:22:38 +0100 |
commit | 6f396645f41c3210c2dba3bcc86778103a01f71a (patch) | |
tree | 73d83296abe04b1b4858cc0a2fe6922830bc52db /bin | |
parent | f957d74e43f7db9f117585dbc95d5d7adf90a68c (diff) | |
download | bundler-6f396645f41c3210c2dba3bcc86778103a01f71a.tar.gz |
`finish_resolve` is not actually needed
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/rake | 2 | ||||
-rwxr-xr-x | bin/rspec | 2 | ||||
-rwxr-xr-x | bin/rubocop | 2 |
3 files changed, 0 insertions, 6 deletions
@@ -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}'`" @@ -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}'`" |