aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cask/lib/hbc/cli
diff options
context:
space:
mode:
authorMike McQuaid2017-05-07 14:12:44 +0100
committerGitHub2017-05-07 14:12:44 +0100
commit3e4547f52e7ebec633f8bfefc8a396d944edf908 (patch)
tree59d478b0a91845c3706e6cd312e7d3469c0a594a /Library/Homebrew/cask/lib/hbc/cli
parent6edf9382bcc1240ad6f97c8b752cfe56cef9965d (diff)
parentee253e465b8e2f5acdb53daf572311e87055e082 (diff)
downloadbrew-3e4547f52e7ebec633f8bfefc8a396d944edf908.tar.bz2
Merge pull request #2597 from MikeMcQuaid/vendor-gems
Vendor all Homebrew's gems.
Diffstat (limited to 'Library/Homebrew/cask/lib/hbc/cli')
-rw-r--r--Library/Homebrew/cask/lib/hbc/cli/style.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cask/lib/hbc/cli/style.rb b/Library/Homebrew/cask/lib/hbc/cli/style.rb
index 191aefd3c..930742ed7 100644
--- a/Library/Homebrew/cask/lib/hbc/cli/style.rb
+++ b/Library/Homebrew/cask/lib/hbc/cli/style.rb
@@ -26,7 +26,7 @@ module Hbc
def install_rubocop
capture_stderr do
begin
- Homebrew.install_gem_setup_path! "rubocop-cask", HOMEBREW_RUBOCOP_CASK_VERSION, "rubocop"
+ Homebrew.run_bundler_if_needed!
rescue SystemExit
raise CaskError, Tty.strip_ansi($stderr.string).chomp.sub(/\AError: /, "")
end