Updating gem error: No such file

2019-07-30  本文已影响0人  AsaGuo

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.

上一篇 下一篇

猜你喜欢

热点阅读