Last active
March 26, 2021 17:37
-
-
Save jjb/28ded2df2a6e59f6b52632a2c4335697 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
sudo port selfupdate | |
sudo port install shared-mime-info | |
sudo mkdir -p /usr/local/share/mime/packages/ | |
sudo ln -s /opt/local/share/mime/packages/freedesktop.org.xml /usr/local/share/mime/packages | |
# minimal test to see if it's working - if it is, now include in Gemfile like normal | |
gem install mimemagic -v '0.3.7' --source 'https://rubygems.org/' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
symlink is no longer necessary as of mimemagicrb/mimemagic@574ae9e