美文网首页
Mac配置开发环境

Mac配置开发环境

作者: 蓝汐o | 来源:发表于2022-03-15 00:43 被阅读0次

cocoapods安装一直失败 While executing gem ... (Gem::FilePermissionError)

this works for me:
Step 1 (install HomeBrew)
/bin/bash -c "(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh) Step 2 (Run these two commands in your terminal to add Homebrew to your PATH) echo 'eval "(/opt/homebrew/bin/brew shellenv)"' >> /Users/”YOUR USER FORLDER”/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv)"
Step 3 (now you can install cocoapods)
brew install cocoapods

https://developer.apple.com/forums/thread/697249

Permission denied (publickey)

ssh userName@192.168.23.28-p 29418

出现Permission denied (publickey) 问题

解决方法:删除~/.ssh 下的ssh-keygen-t rsa生成,然后通过cat id_rsa.pub 拷入gerrit setting中的public选项中

最后关机重启,应该就好了。
————————————————
版权声明:本文为CSDN博主「pengjin1985」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/pengjin1985/article/details/7789909

相关文章

网友评论

      本文标题:Mac配置开发环境

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