Can't install Homebrew on OSX
I am summarising my answer from comments.

In your case it seems that something has installed a version of curl without into https support into your local folder. Maybe you tried to compile it yourself (the standard .configure &amp;&amp; make &amp;&amp; make install procedure installs programs into /usr/local for example.

You can force the command to use system curl by replacing curl by /usr/bin/curl in it, thus use:

ruby -e "$(/usr/bin/curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"


When you have Homebrew successfully installed you can re-install the curl in your local folder by using:

brew install curl


There might be some additional steps as you have to overwrite files that are already there. You might need to use the --overwrite option.