diff options
author | Samuel E. Giddins <segiddins@segiddins.me> | 2015-07-15 21:00:57 -0700 |
---|---|---|
committer | Samuel E. Giddins <segiddins@segiddins.me> | 2015-07-15 21:00:57 -0700 |
commit | 6013481fbd475073164ff8ec632b065fcd750f51 (patch) | |
tree | 3049b3deca1024428cbba5fcc6a1b1f7eb78ac59 /bin | |
parent | a77ca278809d7f31fa51e4b821faed86324c8275 (diff) | |
download | bundler-6013481fbd475073164ff8ec632b065fcd750f51.tar.gz |
[RuboCop] Add binstub
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/rubocop | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bin/rubocop b/bin/rubocop new file mode 100755 index 0000000000..5cf46a9744 --- /dev/null +++ b/bin/rubocop @@ -0,0 +1,9 @@ +#!/usr/bin/env ruby + +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.32.1" +load Gem.bin_path("rubocop", "rubocop") |