mkdir -p $HOME/Software/ruby export GEM_HOME=$HOME/Software/ruby gem install cocoapods gem installed export PATH=$PATH:$HOME/Software/ruby/bin pod --version
出现版本号之后接着用就完了
mkdir -p $HOME/Software/ruby export GEM_HOME=$HOME/Software/ruby gem install cocoapods gem installed export PATH=$PATH:$HOME/Software/ruby/bin pod --version
出现版本号之后接着用就完了