今天再重新更新MAC OS
發現使用brew doctor 檢查套件是否安裝成功時,出現命令失敗
訊息為以下:
---------
/usr/local/Homebrew/Library/Homebrew/global.rb:12:in `require': cannot load such file -- active_support/core_ext/object/blank (LoadError)
---------
解決方法如下:
重新安裝brew :
---------
# 在MAC OS console下輸入
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
---------
ref. to :
1. https://github.com/Homebrew/homebrew-core/issues/37269
2. https://brew.sh/
沒有留言:
張貼留言