升级系统后pod update报错bad interpreter: No such file or directory

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

    原文作者:虫yu
    原文地址: https://www.jianshu.com/p/34dc1710685d?utm_campaign=maleskine&utm_content=note&utm_medium=seo_notes&utm_source=recommendation
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞