diff options
| author | Max Howell | 2011-08-23 22:03:55 +0100 |
|---|---|---|
| committer | Max Howell | 2012-03-09 12:10:50 +0000 |
| commit | d053188da4fa45fbd7864f58f0fa5292fdf6531d (patch) | |
| tree | 8c1df3363e99890c530c179d73718b9e9520b4c5 | |
| parent | 488252ddbf668ba491b48e61fbd217d34b9b5dad (diff) | |
| download | homebrew-d053188da4fa45fbd7864f58f0fa5292fdf6531d.tar.bz2 | |
curl -k
| -rw-r--r-- | install_homebrew.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/install_homebrew.rb b/install_homebrew.rb index fee829829..f206444f9 100644 --- a/install_homebrew.rb +++ b/install_homebrew.rb @@ -122,7 +122,9 @@ Dir.chdir "/usr/local" do ohai "Downloading and Installing Homebrew..." # -m to stop tar erroring out if it can't modify the mtime for root owned directories # pipefail to cause the exit status from curl to propogate if it fails - system "/bin/bash -o pipefail -c '/usr/bin/curl -sSfL https://github.com/mxcl/homebrew/tarball/master | /usr/bin/tar xz -m --strip 1'" + # we use -k because OS X curl has a bunch of bad SSL certificates + # you may want to remove the -k flag from your fork! + system "/bin/bash -o pipefail -c '/usr/bin/curl -skSfL https://github.com/mxcl/homebrew/tarball/master | /usr/bin/tar xz -m --strip 1'" end warn "/usr/local/bin is not in your PATH." unless ENV['PATH'].split(':').include? '/usr/local/bin' |
