rake breaks on 'brew install brew-cask'
Created by: willfaught
Output
$ rake
-- Homebrew --------------------------------------------------------------------
-- Homebrew Cask ---------------------------------------------------------------
brew install brew-cask
Error: No available formula with the name "brew-cask"
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching taps...
This formula was found in a tap:
homebrew/completions/brew-cask-completion
To install it, run:
brew install homebrew/completions/brew-cask-completion
rake aborted!
Command failed with status (1): [brew install brew-cask ...]
/Users/Will/.maximum-awesome/Rakefile:9:in `brew_install'
/Users/Will/.maximum-awesome/Rakefile:137:in `block (2 levels) in <top (required)>'
/Users/Will/.maximum-awesome/Rakefile:232:in `block in <top (required)>'
Tasks: TOP => install:brew_cask
(See full trace by running task with --trace)
Full trace
$ rake --trace
rake aborted!
No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb)
/usr/local/lib/ruby/gems/2.3.0/gems/rake-10.4.2/lib/rake/application.rb:684:in `raw_load_rakefile'
/usr/local/lib/ruby/gems/2.3.0/gems/rake-10.4.2/lib/rake/application.rb:94:in `block in load_rakefile'
/usr/local/lib/ruby/gems/2.3.0/gems/rake-10.4.2/lib/rake/application.rb:176:in `standard_exception_handling'
/usr/local/lib/ruby/gems/2.3.0/gems/rake-10.4.2/lib/rake/application.rb:93:in `load_rakefile'
/usr/local/lib/ruby/gems/2.3.0/gems/rake-10.4.2/lib/rake/application.rb:77:in `block in run'
/usr/local/lib/ruby/gems/2.3.0/gems/rake-10.4.2/lib/rake/application.rb:176:in `standard_exception_handling'
/usr/local/lib/ruby/gems/2.3.0/gems/rake-10.4.2/lib/rake/application.rb:75:in `run'
/usr/local/lib/ruby/gems/2.3.0/gems/rake-10.4.2/bin/rake:33:in `<top (required)>'
/usr/local/bin/rake:23:in `load'
/usr/local/bin/rake:23:in `<main>'