Questions tagged [rmagick]

RMagick is an interface between the Ruby programming language and the ImageMagick® and GraphicsMagick image processing libraries.

RMagick is an interface between the Ruby programming language and the ImageMagick® and GraphicsMagick image processing libraries.

Questions concerning using ImageMagick® and GraphicsMagick image editing libraries with Ruby should be tagged with rmagick.

853 questions
241
votes
25 answers

rmagick gem install "Can't find Magick-config"

I get the error shown below when attempting to install the rmagick gem. I am on Snowleopard 10.6 using RVM, Ruby 1.9.2-head and Rails 3.05. Responses to similar questions recommended installing ImageMagick, which I successfully did. Other suggested…
Joe
  • 3,352
  • 3
  • 20
  • 19
188
votes
21 answers

RMagick installation: Can't find MagickWand.h

Updating RMagick and Imagemagick is a painful expierence. I have updated the Imagemagick version on my mac (MacOS El Capitan Version 10.11.5) with homebrew for one project in Ruby 2.3 to 6.9.5-9 $ convert --version Version: ImageMagick 6.9.5-9 Q16…
0x4a6f4672
  • 27,297
  • 17
  • 103
  • 140
155
votes
32 answers

Can't install RMagick 2.13.1. Can't find MagickWand.h.

When I try do install rmagick I get the following error message: Can't install RMagick 2.13.1. Can't find MagickWand.h. *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. …
blawzoo
  • 2,465
  • 4
  • 19
  • 24
140
votes
15 answers

Ruby: Installing rmagick on Ubuntu

I'm trying to get RMagick setup on Ubuntu 10.04. Looked here but had no joy. I even compiled and installed ImageMagick from source, but the instructions here still didn't help me when I try to install RMagick using RubyGems. I got this…
Ciaran Archer
  • 12,316
  • 9
  • 38
  • 55
68
votes
12 answers

Why is this RMagick call generating a segmentation fault?

I've been banging my head against the wall for the better part of an hour trying to figure out what's going wrong here, and I'm sure (or rather hoping) it's something fairly obvious that I'm overlooking. I'm using Ruby 1.9.1, Sinatra 1.0, and…
Grant Heaslip
  • 967
  • 2
  • 10
  • 16
66
votes
12 answers

ImageMagick / RMagick - Can't install RMagick 2.13.1. Can't find Magick-config

I used a script to install ImageMagick http://github.com/masterkain/ImageMagick-sl After a while, I got ImageMagick installed. Then I ran sudo gem install rmagick and got Building native extensions. This could take a while... ERROR: Error…
teecraft
  • 927
  • 2
  • 9
  • 10
66
votes
8 answers

Error installing Rmagick on Mountain Lion

I have seen other people with the same issue of installing RMagick on Mountain Lion However none of the suggested solutions have allowed me to successfully install rmagick. Here is the error message I am…
tomciopp
  • 2,602
  • 2
  • 31
  • 60
64
votes
2 answers

Resize existing images to new style in paperclip & RMagick

I've been using paperclip to upload and auto-resize photos in my Rails app, and I love it. Only problem is about every other month my crazy manager decides he wants a new size to display the photos in. So I add a new style in my Photo model and all…
tybro0103
  • 48,327
  • 33
  • 144
  • 170
44
votes
8 answers

RMagick complains it was configured with a different version of ImageMagick

I am getting following error while running local script/server of my Rails project: This installation of RMagick was configured with ImageMagick 6.6.1 but ImageMagick 6.4.5 is in use. (RuntimeError) Running identify --version shows the…
chaitanya
  • 1,974
  • 3
  • 17
  • 35
42
votes
6 answers

rmagick and OS X Lion

Just upgraded (i.e. not a new install) to Lion from Leopard and my previously well-working rmagick now doesn't work anymore and gives me this error: Your Rack app raised an exception when Pow tried to run it. LoadError:…
rassom
  • 2,896
  • 5
  • 34
  • 45
41
votes
4 answers

Package MagickCore was not found in the pkg-config search path

I was trying to install rmagick and it always asks for PKG_CONFIG_PATH not configured. This happened multiple times to me, so I'm posting this as an issue and answering myself for anyone else facing same issue. User-MacBook-Pro:rsscom macuser$ gem…
Ashwin Yaprala
  • 2,737
  • 2
  • 24
  • 56
40
votes
2 answers

ImageMagick 7 with RMagick 2.16 on MacOS Sierra Can't find MagickWand.h

I upgraded to imagemagick-7.0.4-3.sierra and now my previously installed RMagck 2.16 fails. I checked for MagicWand: $ find /usr/local -name MagickWand.h /usr/local/Cellar/imagemagick/7.0.4-3/include/ImageMagick-7/MagickWand/MagickWand.h So it…
anny_goerl
  • 642
  • 2
  • 8
  • 13
38
votes
11 answers

Rails and OS X: How to install rmagick?

I am already completely desperate - I spent whole day with trying to install rmagick gem to Mac OS X Lion, but literally it's a tragedy. I saw many similar threads on Google, but nothing has helped me. I tried completely uninstall imagemagick via…
user984621
  • 46,344
  • 73
  • 224
  • 412
36
votes
9 answers

All of a sudden started getting "Could Not Run The `Identify` Command. Please Install ImageMagick."

I've had ImageMagick, RMagick, & PaperClip working properly with everything setup including the config Paperclip.options[:command_path] in production.rb file. All of a sudden I've started getting the following error: Could Not Run The `Identify`…
Jacob
  • 6,317
  • 10
  • 40
  • 58
31
votes
4 answers

exif image rotation issue using carrierwave and rmagick to upload to s3

I've got a photo upload feature in my rails app. The app uploads direct to s3 through carrierwave via rmagick and fog. The issue I am having is when a photo is uploaded via mobile through the "take a photo option" in portrait (note this is with…
lando2319
  • 1,509
  • 1
  • 19
  • 27
1
2 3
56 57