エンジニアを目指す初学者に向けて、わかりやすく解説したブログです。

Tapping homebrew/bundle was failed!

事象

.Brewfileでhomebrewのパッケージを管理してるので、以下のコマンドで反映しようとしたらエラーが発生した。

brew bundle --global

■エラー内容

Tapping homebrew/bundle
Error: homebrew/bundle was deprecated. This tap is now empty and all its contents were either deleted or migrated.
Tapping homebrew/bundle has failed!

# 中略

`brew bundle` failed! 1 Brewfile dependency failed to install

原因

私の .Brewfileに記載されている、以下の行がdeprecatedらしい。

現在は brew bundleがHomebrew本体に組み込まれているとのこと。

tap "homebrew/bundle"

参考:

It has been entirely merged into Homebrew/brew.

実施内容

.Brewfileに記載されている以下の行を削除する。

tap "homebrew/bundle"

もう一度 brew bundleを実行したら成功した。

$ brew bundle --global
==> Downloading Homebrew API data
✔︎ JSON API packages.arm64_tahoe.jws.json            Downloaded   15.5MB/ 15.5MB
# 略