Last Updated: February 25, 2016
·
2.725K
· muszynskis

How to install rmagick (2.13.2) without an error?

Problem

I have always had the same error during rmagick (ver. 2.13.2) installation:

An error occurred while installing rmagick (2.13.2), and Bundler cannot
continue. Make sure that `gem install rmagick -v '2.13.2'` succeeds before bundling.

Solution

This one line should help:

sudo apt-get install libmagickwand-dev