更新Ruby以及安装cocoaPods的过程

我选择了 rvm安装

步骤:

1.$ curl -L get.rvm.io | bash -s stable

2.加载文件, 测试是否安装正常(按照提示操作)

$ source ~/.bashrc

$ source ~/.bash_profile

$ source ~/.profile

$ rvm -v

3.如果有下面的提示, 请reload rvm

A RVM version 1.27.0 (latest) is installed yet 1.25.23 (stable) is loaded.

Please do one of the following:

'rvm reload'

open a new shell

'echo rvm_auto_reload_flag=1 >> ~/.rvmrc' # for auto reload with msg.

'echo rvm_auto_reload_flag=2 >> ~/.rvmrc' # for silent auto reload.

4.未完待续


你可能感兴趣的:(更新Ruby以及安装cocoaPods的过程)