pod install提示:bad interpreter: No such file or directory信息

执行pod install命令后出现了下面提示:

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

上述问题是升级了Mac系统导致的,当升级了新的系统后,别忘记更新cocoapods。执行命令为:

 $ sudo gem update --system
 $ sudo gem install cocoapods -n/usr/local/bin
    原文作者:HAPPY小元宝
    原文地址: https://www.jianshu.com/p/99aae0af1c6c
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞