安装cocoapod报错解决方案

  • 报错问题:
  • `> pod --version
  • /Users/bastian/.rvm/rubies/ruby-2.2-head/lib/ruby/site_ruby/2.2.0/rubygems.rb:250:infind_spec_for_exe': can't find gem cocoapods (>= 0.a) (Gem::GemNotFoundException)
    from /Users/bastian/.rvm/rubies/ruby-2.2-head/lib/ruby/site_ruby/2.2.0/rubygems.rb:278:in activate_bin_path' from /Users/bastian/bin/pod:22:in
    '`
  • 解决方案:

引用

  • http://stackoverflow.com/questions/35914557/how-to-get-cocoapods-running-with-rvm
  • http://www.haorooms.com/post/gem_not_use
  • http://code4app.com/article/cocoapods-install-usage

你可能感兴趣的:(安装cocoapod报错解决方案)