diff options
| author | Jack Nagel | 2013-08-02 18:18:34 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-08-02 18:25:17 -0500 |
| commit | ba968516067e03adc4e31d7fb96334e44c4f6798 (patch) | |
| tree | 80e2a8b8cd48e5ae7f940263eb6ac112f2e692be /Library/Homebrew/cmd | |
| parent | faf0a7204a7416c8c7299b70eb52f8f5c6471a34 (diff) | |
| download | brew-ba968516067e03adc4e31d7fb96334e44c4f6798.tar.bz2 | |
Always load net/https before referencing related constants
I put this require inside the method body, because eager-loading
net/https is slow compared to the rest of Homebrew, and utils.rb is
loaded for each `brew` invocation.
It's probably worth breaking up global.rb a bit, to reduce the amount of
code we are loading unnecessarily, but hopefully also to make inter-file
dependencies a bit more obvious.
Fixes Homebrew/homebrew#21617.
Diffstat (limited to 'Library/Homebrew/cmd')
0 files changed, 0 insertions, 0 deletions
