mac下升级ruby版本

curl -L https://get.rvm.io | bash -s stable
source /Users/hjj/.rvm/scripts/rvm
rvm -v
rvm list known
rvm install 2.2.4
sudo gem install cocoapods