gem EPERM problem

安装 cocoapods:

sudo gem install cocoapods

ERROR:  While executing gem ... (Errno::EPERM)
    Operation not permitted - /usr/bin/xcodeproj

解决:手动指定路径:

sudo gem install -n /usr/local/bin cocoapods

发表评论

电子邮件地址不会被公开。 必填项已用*标注