cocoaPods出现 -bash: pod: command not found 的解决方法

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

  

出现版本号之后接着用就完了

posted @ 2018-07-31 14:52  唐宋元明清。  阅读(137)  评论(2编辑  收藏  举报