David R Newman

Installing RMagick GEM

Several packages are required to get the RMagick GEM working. Using sudo or root access perform the following command:

apt-get install graphicsmagick imagemagick librmagick-ruby1.8 libmagick9-dev
After doing this you should be able to install the RMagick GEM:
gem install RMagick
Some even recent installs of Debian/Ubuntu do not have the the latest version of Imagemagick. If it is less than version 6.3.0 then you will need to install an earlier version of RMagick using the following command:
gem install RMagick -v=1.15.12

<< Back to RoR Tips Index Page

Page written by David R Newman (drn[at]ecs.soton.ac.uk). Last updated June 27 2018 14:44:07.