#!/usr/bin/env ruby # frozen_string_literal: true 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