toland / qlmarkdown

QuickLook generator for Markdown files.
3.24k stars 141 forks source link

Can't install with brew on macOS 10.12.4 #80

Closed tomsoderlund closed 7 years ago

tomsoderlund commented 7 years ago

I’m trying this on macOS 10.12.4:

brew update && brew cask install qlmarkdown

But getting this:

warning: unable to unlink .travis.yml: Permission denied
warning: unable to unlink .yardopts: Permission denied
warning: unable to unlink CONTRIBUTING.md: Permission denied
warning: unable to unlink SUPPORTERS.md: Permission denied
fatal: cannot create directory at '.github': Permission denied
Error: Failure while executing: git pull --ff --no-rebase --quiet origin refs/heads/master:refs/remotes/origin/master

Any ideas?

tattali commented 7 years ago

That's work for me, have you try : cd "$(brew --repo)" && git fetch && git reset --hard origin/master && brew update

tomsoderlund commented 7 years ago

Thanks @tattali! My Homebrew installation was broken, I did a reinstall: https://brew.sh

tattali commented 7 years ago

You're welcome