When I try to install rmagic with:
gem install rmagic
it gives error:
Building native extensions. This could take a while... E
try this out
first install imagemagick
sudo apt-get install imagemagick
and then
sudo apt-get install libmagickwand-dev