summaryrefslogtreecommitdiff
path: root/bin/rubocop
blob: 6f638bc47bc3460bd722f757734817b0e51614ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/env ruby
# frozen_string_literal: true

require "rubygems"

bundler_spec = Gem::Specification.load(File.expand_path("../../bundler.gemspec", __FILE__))
bundler_spec.dependencies.each do |dep|
  gem dep.name, dep.requirement.to_s
end

gem "rubocop", "= 0.37.0"

Gem::Specification.unresolved_deps.each do |_name, dep|
  gem dep.name, *dep.requirement
end

load Gem.bin_path("rubocop", "rubocop")