Missing library while installing ruby-filemagic gem on Linux

linux, ruby, ruby-on-rails, rubygems

Solution

`sudo apt-get install libmagic-dev` did it for me

Problem

I needed gem ruby-filemagic for some requirements in my project. While running bundle install its giving me this error ``` *** ERROR: missing required library to compile this module *** extconf.rb failed *** ``` Please help me with this problem.

Original source

Related problems