[Solved] Installing mime magic 0.3.9 with native extensions, ERROR: Failed to build gem native extension
Article
Mashpy Rahman
Problem:
While building docker image on my local machine, I got this error -
Installing mime magic 0.3.9 with native extensions Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
Solution:
First install shared-mime-info and then update bundle of mimemagic.
brew install shared-mime-info bundle update mimemagic
Thank you for reading the article. If you face any problem, please comment below.