Skip to content

Instantly share code, notes, and snippets.


Hamish Hossack hamishhossack

View GitHub Profile
eparreno / gist:1845561
Created Feb 16, 2012
Install libmagic on Mac OS X via homebrew
View gist:1845561
$ brew install libmagic
$ brew link libmagic (if the link is already created is going to fail, don't worry about that)
$ env ARCHFLAGS="-arch x86_64" gem install ruby-filemagic -- --with-magic-include=/usr/local/include --with-magic-lib=/usr/local/lib/
You can’t perform that action at this time.