美文网首页
x-code9 cocoapods 错误 RuntimeErro

x-code9 cocoapods 错误 RuntimeErro

作者: 张群 | 来源:发表于2018-05-10 22:32 被阅读7次

    升级 cocoapods 1.5.2

    终端输入
    sudo gem update –system
    显示如下错误
    ERROR: While executing gem … (Gem::FilePermissionError)
    You don’t have write permissions for the /usr/bin directory.

    网上看到解决方法:

    重新输入下面
    sudo gem install -n /usr/local/bin sass
    sudo gem install -n /usr/local/bin cocoapods

    相关文章

      网友评论

          本文标题:x-code9 cocoapods 错误 RuntimeErro

          本文链接:https://www.haomeiwen.com/subject/eaotdftx.html