Closed zhenkyle closed 7 years ago
👋 thanks for reporting!
This warning comes from setting the HOMEBREW_CASK_OPTS
in your environment. You can confirm this by running env | grep HOMEBREW_CASK_OPTS
in a shell.
$ env | grep HOMEBREW_CASK_OPTS
HOMEBREW_CASK_OPTS=--caskroom=/opt/homebrew-cask/Caskroom
You can confirm this is the cause by running HOMEBREW_CASK_OPTS="" brew cask --version
and you won't get the error.
To better integrate with upstream Homebrew and Cask, I consolidated the management (and removed this environment setting) via boxen/puppet-brewcask#50 which was later released as 0.0.9.
The reason you are still seeing this is that I have not yet updated this in the boxen/our-boxen
repository because I've been running it and monitoring it on our internal fork. However, we've been on this for quite a while now without issue so it's probably fine to look at bumping to the latest.
Appreciate the nudge on this one! I'll look to get this sorted soon. Also happy if you'd like to PR this for a contribution. The docs, specifically "update your Puppet modules" section will guide you through it.
I've bumped the version in #849 so once that lands you should be all set 👍
Confirmed disappearance of the warning message after pull #849, and thanks for your elaborate explanations.
Wow, there's a lot of consolidating code in boxen/puppet-brewcask#50, to be honest, I can't figure out so much in a similar PR, the credit is alway yours! Well done!
I'm on a fresh new macOS 10.12.5 box with a fresh new our-boxen cloned from here and installed.
When I run any brew cask command, I got warning message like this:
But I didn't calling
brew cask
with the--caskroom
at all!Does any body know where does this warning message come from? It is quite annoying.