开发者社区> 问答> 正文

iOS macmini安装cocopod时老是出现的报错,已经下载成功

Installing ri documentation for cocoapods-0.39.0
21 gems installed
bogon:~ sibo$ pod setup

报错开始了进行安装的时候下面是原因

/Users/sibo/.rvm/rubies/ruby-2.0.0-p648/lib/ruby/site_ruby/2.0.0/rubygems.rb:250:in find_spec_for_exe': can't find gem cocoapods (>= 0.a) (Gem::GemNotFoundException)
from /Users/sibo/.rvm/rubies/ruby-2.0.0-p648/lib/ruby/site_ruby/2.0.0/rubygems.rb:278:inactivate_bin_path'
from /Users/sibo/.rvm/rubies/ruby-2.0.0-p648/bin/pod:22:in `'

展开
收起
爵霸 2016-03-06 09:02:21 4223 0
1 条回答
写回答
取消 提交回答
  • 1: sudo gem uninstall cocoapods

    2: gem install cocoapods

    3: pod install

    2019-07-17 18:53:57
    赞同 展开评论 打赏
问答分类:
问答标签:
问答地址:
相关产品:
问答排行榜
最热
最新

相关电子书

更多
Facebook iOS App技术演化十年之路 立即下载
From Java_Android to Swift iOS 立即下载
深入剖析 iOS 性能优化 立即下载