blob: f700d073ca975c58daf7745a83d0ee14bfb5ff4e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/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
|