rmagick

Problem viewing photos in Paperclip - routes error

I have set up Paperclip and ImageMagick successfully on my system, and files are uploading correctly, being resized, and and being saved into the right folders. I try to display those images in my view: <%= image_tag @customer.logo.url(:medium) %> No image is displayed. When I go to the image's direct url I get: Routing Error No rou...

Problems installing RMagick-gem in Rails

Hello all I've been plowing through tutorials all day trying to install RMagick, and have gotten pretty far now I reckon, but have stumbled apon an error that I really don't know how to solve, nor get any useful info on. When I try to install the gem, I get this message: Building native extensions. This could take a while... ERROR:...

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 installing rmagick: ERROR: Failed to build gem native extension. .rvm/rubies/ruby-1.9.2-p0/bin...

Can't install Rmagick and Imagemagick on Windows 7.

Hi there, when I run gem install rmagick-2.13.1.gem from the directory in which rmagick-2.13.1.gem is I get an Error saying that it failed to build gem native extension, below which it says c:/Ruby192/bin/ruby.exe extconf.rb checking for Ruby version >= 1.8.5 ... yes Unable to get Imagemagick version ***extconf.rb failed*** Could not c...

Heroku: Rails 3 and rmagick

Hi, I'm seeing the following error when trying to upload a photo for cropping on heroku with the paperclip plugin. Paperclip::CommandNotFoundError I believe I've successfully install rmagick on a rails 3 instance with bamboo as the stack. Why am i seeing this error? has_attached_file :avatar, :styles => {:large => "600x600>",:small ...

RMagick Gem will not load in Ruby script

I installed RMagick on my MacOSX system and when I try it with IRB everything works fine: ~ $ irb -rubygems -r RMagick irb(main):001:0> p Magick::Long_version "This is RMagick 2.13.1 ($Date: 2009/12/20 02:33:33 $) Copyright (C) ..." => nil But when I try to put this in a simple Ruby script: #!/opt/local/bin/ruby require "rubygems" re...

Rmagick image resizing problem

Hi, I am using attachement_fu plugin with Rmagick image processor for uploading images. Even though I am able to upload images properly there is some problem with the thumbnails. Thumbs are created with same size as original image. Also the height and width of images are saved as null in database. Here is my model. has_attachment :sto...

Rails & RMagick

I've been doing some cool stuff with rmagick on my rails app. I tried starting up my project with 'rails server' and I got this error. I believe I have imagemagick and rmagick installed so I don't know why I see this error. /Users/devinross14/.gem/ruby/1.8/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:239:in `require': no ...

How do I throw away the original image file and just keep the resizes with Paperclip and Rails 3?

I am using Paperclip to, among other things, allow a registered user to upload an avatar for use on thier profile. I want to store a big and small version of the image which will be rmagicked to standard sizes. Now, what i want to do, is store these two standard sizes (:normal and :tiny, for example.) but I do not want to store the :orig...

RMagick not maintained any more??

At the RMagick repo on Github, a message was uploaded yesterday saying the main author cannot continue to maintain the project, and is looking for new people to take over. (I would certainly crash it were I to ever attempt such a job!). You can see their readme here: http://github.com/rmagick/rmagick. In your opinion, where should a Rai...

RMagick not working

I'd appreciate any help with this - I'm sure it's a simple mistake. The location of my app is C:\sanj\rubyjobs. I have installed ImageMagick successfully in its default location: C:\Program Files (x86)\ImageMagick. I have also installed rmagick the gem by running gem install rmagick --local in C:\sanj\rubyjobs\vendor\RMagick Extract...

RMagick + Ubuntu - wrong jpeg library?

I'm having an issue getting RMagick to behave on Ubuntu Intrepid. RMagick installed correctly, but when I attempt to use the JPEG manipulation functions, I get the following error: Magick::ImageMagickError (Wrong JPEG library version: library is 62, caller expects 80 However, when I look in /usr/local/lib, I see libjpeg.so.8.0.2 is i...

Create paperclip attachment from rmagick image

Hi, I have a problem to find a way to save an image created with RMagick in a paperclip attachment. imageList = Magick::ImageList.new imageList.new("images/apple.gif", "images/overlay.png") ... picture = imageList.flatten_images I am in a model that have an attached file has_attached_file :picture, :url => ..., :path => ... ...

rmagick auto scaling with proportions

Is there a way for me to scale and image in rmagick where i set the width, and the height auto scales so the image contain the same proportions? ...