CocoaPods安装报错:gem install cocoapods ERROR: While executing gem ... (Gem::FilePermissionError)

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_30932479/article/details/80822470

在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  即可
阅读更多
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页