解决方案:rm -rf /Users/*/Library/Caches/Homebrew/portable-ruby-2.6.3_2.yosemite.bottle.tar.gz 然后按照网上国内镜像安装方式即可