Skip to content

Instantly share code, notes, and snippets.

@showthreadx
Created March 23, 2020 07:51
Show Gist options
  • Save showthreadx/e9eb1c798fd7531b8f53d50f6552f093 to your computer and use it in GitHub Desktop.
Save showthreadx/e9eb1c798fd7531b8f53d50f6552f093 to your computer and use it in GitHub Desktop.
install imagemagick 6 on arch
# This code can resolve errors while installing rmagick gem using imagemagick7 library
# First, remove imagemagick, if installed
sudo pacman -R imagemagick
# Then install imagemagick6
sudo pacman -S libmagick6
PKG_CONFIG_PATH=/usr/lib/imagemagick6/pkgconfig gem install rmagick
# or with bundler:
PKG_CONFIG_PATH=/usr/lib/imagemagick6/pkgconfig bundle install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment