Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?

以下のエラーで削除も更新も出来ない場合

Error: Cask 'eclipse-jee' definition is invalid: invalid 'depends_on macos' value: ":leopard"

以下を実行する

/usr/bin/find "$(brew --prefix)/Caskroom/"*'/.metadata' -type f -name '*.rb' -print0 | /usr/bin/xargs -0 /usr/bin/sed -i '' '/depends_on macos:/d'
@kokwai

This comment has been minimized.

Copy link

@kokwai kokwai commented Jun 10, 2019

it works, thanks!

@tandriamil

This comment has been minimized.

Copy link

@tandriamil tandriamil commented Aug 12, 2019

Same for me, it worked great, thank you !

@luisgerhorst

This comment has been minimized.

Copy link

@luisgerhorst luisgerhorst commented Oct 11, 2019

I also had the problem hinted on in the first line (I don't understand the description) and the second line solved it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment