美文网首页
While executing gem ... (Gem::Fi

While executing gem ... (Gem::Fi

作者: cI濱 | 来源:发表于2022-12-05 16:04 被阅读0次

今天安装cocoapods遇到While executing gem ... (Gem::FilePermissionError)这个错误,尝试了好几种方法,最终用以下方法解决了

终端执行,

curl -Lhttps://get.rvm.io%C2%A0%7C bash -s stable

rvm install ruby-3.1.1

sudo gem install cocoapods

升级了ruby之后不再报错。

相关文章

网友评论

      本文标题:While executing gem ... (Gem::Fi

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