-bash: /usr/local/bin/pod: /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby: b...

weixin_34402408發表於2018-06-27

終端報錯:

-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

即可解決

相關文章