brew 更新失败,因为删除了已安装的系统 Ruby
brew update failes because of deletion of system installed Ruby
brew 更新失败并出现错误
/usr/local/bin/brew: /usr/local/Library/brew.rb: /System/Library/Frameworks/Ruby.framework/Versions/Current/usr/bin/ruby: bad interpreter: No such file or directory /usr/local/bin/brew: line 23: /usr/local/Library/brew.rb: Undefined error: 0"
由于一些 Ruby 冲突,我删除了 /System/Library/Frameworks/Ruby.framework
。我知道这是一个大错误。
有什么办法可以解决这个问题吗?
brew 更新失败并出现错误
/usr/local/bin/brew: /usr/local/Library/brew.rb: /System/Library/Frameworks/Ruby.framework/Versions/Current/usr/bin/ruby: bad interpreter: No such file or directory /usr/local/bin/brew: line 23: /usr/local/Library/brew.rb: Undefined error: 0"
由于一些 Ruby 冲突,我删除了 /System/Library/Frameworks/Ruby.framework
。我知道这是一个大错误。
有什么办法可以解决这个问题吗?