summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel E. Giddins <segiddins@segiddins.me>2015-07-15 21:00:57 -0700
committerSamuel E. Giddins <segiddins@segiddins.me>2015-07-15 21:00:57 -0700
commit6013481fbd475073164ff8ec632b065fcd750f51 (patch)
tree3049b3deca1024428cbba5fcc6a1b1f7eb78ac59
parenta77ca278809d7f31fa51e4b821faed86324c8275 (diff)
downloadbundler-6013481fbd475073164ff8ec632b065fcd750f51.tar.gz
[RuboCop] Add binstub
-rwxr-xr-xbin/rubocop9
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")