工作中遇到的配置问题

1.安装HomeBrew一直卡住

git fetch origin master:refs/remotes/origin/master --tags --force
参考方案:
https://www.jianshu.com/p/c8d998903a6a

2./Users/xxxxx/.rbenv/shims/ruby: line 21: /usr/local/Cellar/rbenv/1.1.1/libexec/rbenv: No such file or directory

解决方案:
安装 rbenv
brew install rbenv

3.升级MacOS ,或者升级Xcode,遇到

/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- xcodeproj (LoadError)

解决方案:
终端执行 sudo gem install xcodeproj

你可能感兴趣的:(工作中遇到的配置问题)