升级系统后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

你可能感兴趣的:(升级系统后pod update报错bad interpreter: No such file or directory)