美文网首页
Updating gem error: No such file

Updating gem error: No such file

作者: AsaGuo | 来源:发表于2019-07-30 09:10 被阅读0次

Mac OS version: 10.13.6
Issue:
I want to install pod, and when I was updating gem, this error occurred: 'No such file or directory - getcwd'
Solution:

[Mac:~ Asa$ curl -L get.rvm.io | bash -s stable
[Mac:~ Asa$ sudo gem update --system
[Mac:~ Asa$ sudo gem install -n /usr/local/bin cocoapods --pre
[Mac:~ Asa$ pod setup

And then, restart your terminal.

相关文章

网友评论

      本文标题:Updating gem error: No such file

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