diff options
| author | Mike McQuaid | 2017-05-07 13:52:57 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2017-05-07 13:52:57 +0100 |
| commit | ee253e465b8e2f5acdb53daf572311e87055e082 (patch) | |
| tree | 59d478b0a91845c3706e6cd312e7d3469c0a594a /Library/Homebrew/cask/lib/hbc/cli | |
| parent | 6edf9382bcc1240ad6f97c8b752cfe56cef9965d (diff) | |
| download | brew-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/cask/lib/hbc/cli')
| -rw-r--r-- | Library/Homebrew/cask/lib/hbc/cli/style.rb | 2 |
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 |
