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.

Revisions

  1. showthreadx created this gist Mar 23, 2020.
    12 changes: 12 additions & 0 deletions imagemagick6_arch
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,12 @@
    # 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