Mimemagic (0.3.10) Install Error and Bundler cannot continue

An error occurred while installing mimemagic (0.3.10), and Bundler cannot continue.
Make sure that
gem install mimemagic -v ‘0.3.10’ –source ‘https://rubygems.org/’` succeeds before bundling.`

Going back, it says something like this
Fetching mimemagic 0.3.10
Installing mimemagic 0.3.10 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

Install shared-mime-info

brew install shared-mime-info

bundle install

bundle install

mimemagic has been updated and the error is gone.

Read More:

Leave a Reply

Your email address will not be published. Required fields are marked *