Closed engelju closed 8 years ago
I think you need to update the formula, the flags have changed. Also see https://github.com/neovim/homebrew-neovim/issues/177#issuecomment-244624710 in case Formula updating doesn't work.
Ah, I was thinking I'd be something along these lines. I was just reading through #143, #147 and #148 which also have useful info. Will try and report back! Thanks!
So, at first $brew update
wouldn't want to work, because of Homebrew permission issues.
$ brew update
error: insufficient permission for adding an object to repository database .git/objects
fatal: failed to write object
fatal: unpack-objects failed
error: insufficient permission for adding an object to repository database .git/objects
fatal: failed to write object
fatal: unpack-objects failed
Error: Fetching /usr/local/Library/Taps/neovim/homebrew-neovim failed!
Fetching /usr/local/Library/Taps/homebrew/homebrew-dupes failed!
warning: failed to remove Library/Perl/Updates/5.18.2/darwin-thread-multi-2level/perllocal.pod
To restore the stashed changes to /usr/local run: 'cd /usr/local && git stash pop'
Updated Homebrew from e10234f to 3d3a03f.
Updated 2 taps (caskroom/cask, caskroom/versions).
No changes to formulae.
Then I found this link and tried $ sudo chown -R $USER /usr/local
and then $ brew update
again. That updated the formulaes, including the neovim one.
Then I tried to install neovim again by first $ brew uninstall neovim
and then re-installing it via $ brew install --HEAD neovim
. This time everything went smooth and successful! 🎉 Thanks for the help @fwalch!
You're welcome!
System: OSX 10.10.3