Mac版本更新到10.14后提示-bash: /usr/loca
2020-03-24 本文已影响0人
蓝蟹先生
今天在更新Mac系统之后,在终端上输入pod search之后,终端上输出:
-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