Closed dongrerohan421 closed 4 years ago
As a workaround, I changed line 134 of Rakefile as follows:
diff --git a/Rakefile b/Rakefile
index cf68178..b019b3a 100644
--- a/Rakefile
+++ b/Rakefile
@@ -131,7 +131,7 @@ 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/cask')
+ unless system('brew tap | grep homebrew/cask > /dev/null') || system('brew tap caskroom/cask')
abort "Failed to tap caskroom/cask in Homebrew."
end
I didn't make a PR because that likely breaks on older versions of Homebrew, and it's my first time touching rake.
No longer necessary to tap caskroom/cask. Like to install java you can use something like this.
brew install --cask homebrew/cask-versions/adoptopenjdk8
while running rake command I am getting Error: caskroom/cask was moved. Tap homebrew/cask-cask instead.