1.安装ruby环境(2.0即可)一般电脑都是2.0以上
如果不是,请百度mac安装ruby教程
2.更换镜像.
$gem sources -a https://gems.ruby-china.org/(如果提示找不到镜像)直接更新镜像缓存
$gem sources -u
3.安装CocoaPods
$sudo gem install cocoapods
1.安装ruby环境(2.0即可)一般电脑都是2.0以上
如果不是,请百度mac安装ruby教程
2.更换镜像.
$gem sources -a https://gems.ruby-china.org/(如果提示找不到镜像)直接更新镜像缓存
$gem sources -u
3.安装CocoaPods
$sudo gem install cocoapods