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

慕容文昌
2023-12-01

更新Mac系统之后,在终端做 pod 操作之后,输出:-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

 类似资料: