Ruby update
1、命令行设置代理(「本地ss端口」)
export http_proxy=http://127.0.0.1:「7890」
2、安装 rvm
curl -L get.rvm.io | bash -s stable
刷新
source ~/.rvm/scripts/rvm
安装成功 但还需要重启终端 或者 运行 source /Users/arsenic/.zprofile 否则国内地址无法生效
rvm install ruby-3.0.0
安装 cocoapods
sudo gem install cocoapods
完成
Views: 121
发表回复