一、确认ruby安装
dulei@duleideMacBook-Pro c_demo % which ruby
/usr/bin/ruby
二、安装brew
- 进入官网获取下载命令
Homebrew官网
![](https://i-blog.csdnimg.cn/blog_migrate/124e541026fa27f1603620e36ca5e30f.png)
- 报错:
curl: (35) LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to raw.githubusercontent.com:443
dulei@duleideMacBook-Pro c_demo % which ruby
/usr/bin/ruby
curl: (35) LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to raw.githubusercontent.com:443