aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cask/lib/hbc/cli
diff options
context:
space:
mode:
authorMike McQuaid2017-05-07 17:31:09 +0100
committerGitHub2017-05-07 17:31:09 +0100
commit0d5956948e597efd4186fbc590fa664f9ed6f429 (patch)
treec7f61167ec6e0599a16a80986acafd2da1938b0b /Library/Homebrew/cask/lib/hbc/cli
parent8d948e4b0b55912c592d34cb5ea83c649b1f9d5e (diff)
parent57db2e539eaa5fbae351963265312bd24ed08f6b (diff)
downloadbrew-0d5956948e597efd4186fbc590fa664f9ed6f429.tar.bz2
Merge pull request #2606 from MikeMcQuaid/revert-vendor-gems
Revert gem vendoring experiment.
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 930742ed7..191aefd3c 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.run_bundler_if_needed!
+ Homebrew.install_gem_setup_path! "rubocop-cask", HOMEBREW_RUBOCOP_CASK_VERSION, "rubocop"
rescue SystemExit
raise CaskError, Tty.strip_ansi($stderr.string).chomp.sub(/\AError: /, "")
end