aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cask/lib/hbc/cli
diff options
context:
space:
mode:
authorMike McQuaid2017-05-07 17:28:39 +0100
committerMike McQuaid2017-05-07 17:28:39 +0100
commit57db2e539eaa5fbae351963265312bd24ed08f6b (patch)
treec7f61167ec6e0599a16a80986acafd2da1938b0b /Library/Homebrew/cask/lib/hbc/cli
parente1bbab6ca6c8f96bb53fee9af3f0c01edd2d2f94 (diff)
downloadbrew-57db2e539eaa5fbae351963265312bd24ed08f6b.tar.bz2
Revert "Merge pull request #2597 from MikeMcQuaid/vendor-gems"
This reverts commit 3e4547f52e7ebec633f8bfefc8a396d944edf908, reversing changes made to 6edf9382bcc1240ad6f97c8b752cfe56cef9965d.
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