问题描述
今天macOS升级到10.14后,发现CocoaPods用不了了。rvm也没了。
$ pod --version
-bash: pod: command not found
$ rvm -v
-bash: rvm: command not found

解决方案
1. 安装RVM
$ \curl -sSL https://get.rvm.io | bash -s stable
$ source ~/.bashrc
$ source ~/.bash_profile

2. 安装CocoaPods
$ sudo gem install cocoapods

搞定。
网友评论