Sunday, 2 February 2014

Installing Rmagick Gem on Arch Linux using ABS

Installing my Rails project to a newly installed Arch Linux laptop - I ran bundle install and got the following error:



I sync'd ABS and then copied the /var/abs/extra/imagemagick/ folder to a working folder.

Now edit PKGBULD, removing the --enable-hdri option so the .configure section looks like this:



Run makepkg  in the working folder and then install the resultant package with pacman -U.

Finally, back in my Rails project folder, I ran bundle install (or I could have run gem install rmagick) once again and the Rmagick gem installs!

No comments:

Post a Comment