Mac配置开发环境

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

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

友情链接更多精彩内容