-bash: /usr/local/bin/pod: /Syst

2018-02-28  本文已影响56人  不规则先生

更新Mac系统到macOS High Sierra后,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

解决方法:

sudo gem update --systemsudo gem install -n /usr/local/bin cocoapods

上一篇下一篇

猜你喜欢

热点阅读