1.https://ruby-china.org/wiki/install_ruby_guide/ 2.http://code4app.com/article/cocoapods-install-usage