-
-
Save hamishhossack/96f8b6f766934d85c2d4 to your computer and use it in GitHub Desktop.
Install libmagic on Mac OS X via homebrew
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ 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/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment