From 5c828e491bbb4a9262f3626a8b0ad839f12c8801 Mon Sep 17 00:00:00 2001
From: Sean Sorrell <ssorrell@squareup.com>
Date: Tue, 13 Dec 2016 14:04:57 -0800
Subject: [PATCH] "brew cask" is no longer installable via `brew install`

We remove this line to allow installation to proceed. It is imperative that brew
cask be tapped, per[1] brew tap caskroom/cask will install brew-cask as a
Homebrew external command, and brew update will keep it up-to-date.

[1] https://github.com/caskroom/homebrew-cask/releases/tag/v0.60.0
---
 Rakefile | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/Rakefile b/Rakefile
index 6b4bc07..5694a29 100644
--- a/Rakefile
+++ b/Rakefile
@@ -130,11 +130,9 @@ namespace :install do
   task :brew_cask do
     step 'Homebrew Cask'
     system('brew untap phinze/cask') if system('brew tap | grep phinze/cask > /dev/null')
-    unless system('brew tap | grep caskroom/cask > /dev/null') || system('brew tap caskroom/homebrew-cask')
-      abort "Failed to tap caskroom/homebrew-cask in Homebrew."
+    unless system('brew tap | grep caskroom/cask > /dev/null') || system('brew tap caskroom/cask')
+      abort "Failed to tap caskroom/cask in Homebrew."
     end
-
-    brew_install 'brew-cask'
   end
 
   desc 'Install The Silver Searcher'
-- 
GitLab