Skip to content

Instantly share code, notes, and snippets.

@sigmike
Created January 9, 2018 15:52
Show Gist options
  • Star 25 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save sigmike/591c9ede57d962dc26ea0790ade50808 to your computer and use it in GitHub Desktop.
Save sigmike/591c9ede57d962dc26ea0790ade50808 to your computer and use it in GitHub Desktop.
Install rmagick with imagemagick 6 on arch
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
@Yegorov
Copy link

Yegorov commented Jul 20, 2021

Now it work in this way:

yay -S libmagick6
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig gem install rmagick -v '3.1.0'

@bobf
Copy link

bobf commented Sep 17, 2021

This still works in 2021 - thank you very much for solving this headache for me @sigmike and @Yegorov

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment