Error: Cask ‘wine-stable’ definition is invalid: invalid depends_on key: ‘:x11’

Updating a Ruby file will fix this. This one took me a bit to find. I’m getting this error whether I run brew upgrade, brew install –caske wine-stable or brew uninstall –cask wine-stable. I think the issue is that x11 is now deprecated and if you installed this version of wine, you can’t uninstall it until you …