Skip to content

Instantly share code, notes, and snippets.

@laran
Created February 4, 2011 00:33
Show Gist options
  • Save laran/810520 to your computer and use it in GitHub Desktop.
Save laran/810520 to your computer and use it in GitHub Desktop.
502 when installing homebrew
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
@laran
Copy link
Author

laran commented Feb 4, 2011

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