我在 Mac OS Lion 上使用 Brew v0.8。
当我尝试安装 Imagemagick 时:
MacBook-kir:rails kir$ brew install imagemagick
/usr/bin/git
==> Cloning https://github.com/adamv/ImageMagick.git
Cloning into /Users/kir/Library/Caches/Homebrew/imagemagick--git...
fatal: https://github.com/adamv/ImageMagick.git/info/refs not found: did you run git update-server-info on the server?
Error: Failure while executing: git clone --depth 1 https://github.com/adamv/ImageMagick.git /Users/kir/Library/Caches/Homebrew/imagemagick--git
如何安装Imagemagick?
最佳答案
您需要更新您的brew安装并重置存储库:
cd /usr/local
brew update
git reset --hard FETCH_HEAD
然后你可以运行:
brew install imagemagick
关于imagemagick - 无法使用 Brew 在 Mac 上安装 Imagemagick,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7434008/