今天更新一下设备工具
1,安装 Homebrew
打开终端:输入命令行
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
遇到问题:Failed to connect to raw.githubusercontent.com port 443: Connection refused
然后 https://www.jianshu.com/p/c2e829027b0a
2,更新一下 ruby
gem sources -a http://rubygems-china.oss.aliyuncs.com
macOS 安装mpapis公钥
==> Installing dependencies for gnupg: adns, gettext, gmp, libtasn1, libunistring, nettle, libffi, p11-kit, openssl, libevent, unbound, gnutls, libgpg-error, libassuan, libgcrypt, libksba, libusb, npth and pinentry