ERROR Original Error: ImageMagick/GraphicsMagick is not installed
on Ubuntu:
sudo apt-get install imagemagick
You need to install libmagickwand-dev in order to successfully complete the rmagick gem. Following command will do the job for you:
sudo apt-get install libmagickwand-dev
On a Mac, you would run the following command:
brew install imagemagick # it requires you to install Homebrew first.
I had the same issue and solved it with:
sudo apt-get update
sudo apt-get install imagemagick --fix-missing