diff options
Diffstat (limited to 'Library/Homebrew/cask/lib/hbc/cli/style.rb')
| -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 | 
