0

Possible Duplicate:
Can't install Imagemagick on Mac with Brew

I'm trying to install ImageMagick on OS X Lion but get the following error:

[~]$  brew install imagemagick
/usr/bin/git
==> Cloning https://github.com/adamv/ImageMagick.git
Cloning into /Users/isilber/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/isilber/Library/Caches/Homebrew/imagemagick--git

Any ideas?

Community
  • 1
  • 1
Ian McIntyre Silber
  • 5,553
  • 13
  • 53
  • 76

2 Answers2

0

update your brew formulas:

brew update
Igor Minar
  • 9,574
  • 3
  • 22
  • 13
0

You need to update your brew installation and reset the repository:

cd /usr/local
brew update
git reset --hard FETCH_HEAD

Then you can run:

brew install imagemagick
Matteo Alessani
  • 10,264
  • 4
  • 40
  • 57