cocoapods报错-bash: /usr/local/bin
2018-03-06 本文已影响0人
SkyFang2016
iOS开发之cocoapods报错MacOSSierra10.13-bash: /usr/local/bin/pod: /System/Library/Frameworks/Ruby.framewor
终端报错:
-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 install -n /usr/local/bin cocoapods
即可解决