Can';t使用Brew在Mac上安装Imagemagick

Can';t使用Brew在Mac上安装Imagemagick,imagemagick,Imagemagick,我正在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://git

我正在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从中下载Imagemagick的镜像已移动


尝试运行
brew update
,然后再次
brew安装imagemagick

您需要更新brew安装并重置存储库:

cd /usr/local
brew update
git reset --hard FETCH_HEAD
然后您可以运行:

brew install imagemagick