Created
February 4, 2011 00:33
-
-
Save laran/810520 to your computer and use it in GitHub Desktop.
502 when installing homebrew
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
foo $ ruby -e "$(curl -fsSL https://gist.github.com/raw/323731/install_homebrew.rb)" | |
==> This script will install: | |
/usr/local/bin/brew | |
/usr/local/Library/Formula/... | |
/usr/local/Library/Homebrew/... | |
Press enter to continue | |
==> Downloading and Installing Homebrew... | |
curl: (22) The requested URL returned error: 504 | |
Failed during: /bin/bash -o pipefail -c '/usr/bin/curl -sSfL https://github.com/mxcl/homebrew/tarball/master | /usr/bin/tar xz -m --strip 1' | |
foo $ curl -fsSLk https://gist.github.com/raw/323731/install_homebrew.rb | ruby | |
==> This script will install: | |
/usr/local/bin/brew | |
/usr/local/Library/Formula/... | |
/usr/local/Library/Homebrew/... | |
==> Downloading and Installing Homebrew... | |
curl: (22) The requested URL returned error: 502 |
I tried both ways. The problem is that this file couldn't be downloaded:
https://github.com/mxcl/homebrew/tarball/master
It seems to come down fine now.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Per wiki
Install in the default and recommended way:
ruby -e "$(curl -fsSLk https://gist.github.com/raw/323731/install_homebrew.rb)"
If the above line does not work (e.g. gives you “curl: (22) The requested URL returned error: 502”) you can try
curl -fsSLk https://gist.github.com/raw/323731/install_homebrew.rb | ruby
This will download and execute the gist and then install Xcode.