我在我的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?
发布于 2012-01-16 04:26:41
您需要更新brew安装并重置存储库:
cd /usr/local
brew update
git reset --hard FETCH_HEAD然后,您可以运行:
brew install imagemagick发布于 2011-09-22 01:02:12
可能是brew从中下载ImageMagick的镜像被移动。
尝试运行brew update,然后再次运行brew install imagemagick
https://stackoverflow.com/questions/7434008
复制相似问题