rmagick

rmagick gem install “Can't find Magick-config”

懵懂的女人 提交于 2019-11-26 12:34:22
问题 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 installing the \"libmagick9-dev library\", however, I can not figure out how to do this. I\'m a new developer, and any assistance or directions to an existing explanation or resource is greatly appreciated. Thanks! jjdevenuta(opal)$ gem install

Installing rmagick on Ubuntu

随声附和 提交于 2019-11-26 11:54:00
问题 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 error: carcher@carcher-laptop:~/Code/temp/RMagick-2.13.1$ sudo gem install rmagick Building native extensions. This could take a while... ERROR: Error installing rmagick: ERROR: Failed to build gem native extension. /usr/bin/ruby1.8 extconf.rb extconf.rb:1:in

ImageMagick - “CORE_RL_magick_.dll not found” or how to install RMagick on windows with ruby 1.9.2

倾然丶 夕夏残阳落幕 提交于 2019-11-26 10:55:32
问题 I\'m working on a Rail3 app. After struggling for several hours and finally installing the rmagick 2.13.1 gem without errors on win7x64 / ruby 1.9.2, I\'ve run into another error. Yeah, I\'ve heard that rails experience in windows could be painfull... I use carrierwave to process and upload images to AWS S3. Processing looks like class IconUploader < CarrierWave::Uploader::Base require \'rmagick\' include CarrierWave::RMagick ... process :resize_to_fit => [100, 100] process :convert => :png .

Can&#39;t install RMagick 2.13.1. Can&#39;t find MagickWand.h.

邮差的信 提交于 2019-11-26 08:54:22
问题 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. Check the mkmf.log file for more details. You may need configuration options. I\'m on Mac OSX 10.6.8, ruby 1.9.2p290, rvm 1.10.2. Can anyone help me please to solve this problem. 回答1: I had a similar issue with running $ gem install rmagick First of

Why is this RMagick call generating a segmentation fault?

南笙酒味 提交于 2019-11-26 08:43:56
问题 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 RMagick 2.13.1. ImageMagick and RMagick are correctly installed and functional—I\'ve successfully manipulated and saved images from irb. The relevant part of the params array (formatting changes for the sake of readability): {\"admin_user_new_image