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/rubocop | |
parent | f957d74e43f7db9f117585dbc95d5d7adf90a68c (diff) | |
download | bundler-6f396645f41c3210c2dba3bcc86778103a01f71a.tar.gz |
`finish_resolve` is not actually needed
Diffstat (limited to 'bin/rubocop')
-rwxr-xr-x | bin/rubocop | 2 |
1 files changed, 0 insertions, 2 deletions
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}'`" |