While executing gem ... (Gem::Fi

2019-10-23  本文已影响0人  丿尛峯

在cocoapods 执行

 sudo gem install cocoapods

的时候出现  While executing gem ... (Gem::FilePermissionError)

    You don't have write permissions for the /usr/bin directory.

改为 sudo gem install -n /usr/local/bin cocoapods  即可

上一篇 下一篇

猜你喜欢

热点阅读