title: OSX proxy issue with homebrew install
body: <p>I have tried to do the required search for my problem but I did not get quite the answer I need.</p>
  
  <p>Objective: to install homebrew &amp; work with homebrew
  OS I am using : OS X El Capitan</p>
  
  <p>The following is my problem:
  I am new to OS X &amp; Homebrew. I am trying to install homebrew from my home network using the following command:</p>
  
  <pre><code>ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  </code></pre>
  
  <p>but I get the following error:</p>
  
  <pre><code>curl: (7) Failed to connect to "company_domain_ip" port "port#": Operation timed out
  </code></pre>
  
  <p>Looks like executing the ruby curl thing is trying to go through the company proxy &amp; port even if I am in my home network. I trying to switch of proxy from Network Preferences > advanced > proxies. But doesn't help.</p>
  
  <p>If I install brew using the ruby curl thing in my office network, then it installs fine. But, brew gives the Bad URI error when I try to do a "brew anything". Not sure if this a brew problem or some problem in the way I am using brew with respect to the proxy.</p>
  
  <p>I think that if I get around this proxy when in non-office on my osx then, it might solve the issue. So how can I switch off http proxy in osx ? so that when I at least run the following command it works first of all.</p>
  
  <pre><code>ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  </code></pre>
  
  <p>Then may be brew will also start working.</p>
  
  <p>Thanks in advance for any help offered.</p>