Created
July 16, 2020 01:21
-
-
Save renyuzhuo/4fa5051fc96d41efd69d220e67763d44 to your computer and use it in GitHub Desktop.
brew_install.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/ruby | |
STDERR.print <<EOS | |
Warning: The Ruby Homebrew installer is now deprecated and has been rewritten in | |
Bash. Please migrate to the following command: | |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" | |
EOS | |
Kernel.exec "/bin/bash", "-c", '/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
解决 brew 安装失败依赖问题,失败时,会下载源代码安装。