Closed jpauwels closed 3 years ago
Hey! Which shell are you using?
The default bash of OS X 10.11.5
Hmm these problems are usually caused by bad shell profile settings. Unfortunately there's not much more I can say. =/
As you can see on #144 it took literally months for someone to guess what was going wrong (and it turned out to be my fault from the beginning), so it is very hard to debug this kind of isolated problems.
I'm sorry that I can't help you. If you find anything new, please report to me so I can have a look. Thanks!
I managed to encounter the same issue. Cakebrew was installed via brew cask
Turns out it was just running brew update
in the background, which just happens to be very slow
This issue could be easily avoided by simply showing something more precise than just "Loading", like "Updating Brew", or giving some other measure of progress (preferably a progress bar)
Same behaviour as #144. Tried all suggestions described there, then I found through
ps
that the cause of the hang isruby $(brew --prefix)/Library/brew.rb config
. When I try this in the Terminal, it returns:The reason is that
HOMEBREW_OSX_VERSION
is only set in$(brew --prefix)/Library/brew.sh
. Manually setting the env var before calling the ruby file (export HOMEBREW_OSX_VERSION="$(/usr/bin/sw_vers -productVersion)";ruby $(brew --prefix)/Library/brew.rb config
) confirms that this causes the error. This is not a solution though, as the result indicates:Calling
brew config
directly from the command line works as expected: