If you’re running into the following error when attempting to install the RMagick gem: ERROR: Error installing rmagick: ERROR: Failed to build gem native extension. Be sure to install the dependencies, then try again. sudo apt-get install imagemagick sudo apt-get install libmagickwand-dev After which you should be good to go.