aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
diff options
context:
space:
mode:
authorMike McQuaid2017-05-07 13:52:57 +0100
committerMike McQuaid2017-05-07 13:52:57 +0100
commitee253e465b8e2f5acdb53daf572311e87055e082 (patch)
tree59d478b0a91845c3706e6cd312e7d3469c0a594a /Library/Homebrew/cmd
parent6edf9382bcc1240ad6f97c8b752cfe56cef9965d (diff)
downloadbrew-ee253e465b8e2f5acdb53daf572311e87055e082.tar.bz2
Vendor all Homebrew's gems.
Homebrew's actually ended up using a fair few gems. While we want to avoid Bundler at runtime (and this PR still does that, in fact uses Bundler even less at runtime than it did before) writing our own version to use at build-time seems redundant.
Diffstat (limited to 'Library/Homebrew/cmd')
-rw-r--r--Library/Homebrew/cmd/style.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/style.rb b/Library/Homebrew/cmd/style.rb
index cf41d91ee..48ec3ee2e 100644
--- a/Library/Homebrew/cmd/style.rb
+++ b/Library/Homebrew/cmd/style.rb
@@ -65,7 +65,7 @@ module Homebrew
def check_style_impl(files, output_type, options = {})
fix = options[:fix]
- Homebrew.install_gem_setup_path! "rubocop", HOMEBREW_RUBOCOP_VERSION
+ Homebrew.run_bundler_if_needed!
require "rubocop"
require_relative "../rubocops"