美文网首页
升级系统后pod update报错bad interpreter

升级系统后pod update报错bad interpreter

作者: 虫yu | 来源:发表于2018-07-13 10:19 被阅读6次
    pod update --verbose --no-repo-update
    

    -bash: /usr/local/bin/pod: /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby: bad interpreter: No such file or directory

    解决

    sudo gem update --system
    sudo gem install cocoapods -n/usr/local/bin
    

    参考资料:http://www.cocoachina.com/bbs/read.php?tid-1727144.html

    相关文章

      网友评论

          本文标题:升级系统后pod update报错bad interpreter

          本文链接:https://www.haomeiwen.com/subject/scqjpftx.html