diff options
Diffstat (limited to 'bin/rubocop')
-rwxr-xr-x | bin/rubocop | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/bin/rubocop b/bin/rubocop index f700d073ca..818aaf7a9d 100755 --- a/bin/rubocop +++ b/bin/rubocop @@ -5,8 +5,4 @@ load File.expand_path("../with_rubygems", __FILE__) if ENV["RGV"] require_relative "../spec/support/rubygems_ext" -begin - Spec::Rubygems.gem_load("rubocop", "rubocop") -rescue Gem::LoadError => e - warn "We couln't activate rubocop (#{e.requirement}). Run `gem install rubocop:'#{e.requirement}'`" -end +Spec::Rubygems.gem_load("rubocop", "rubocop") |