Forum: Ruby on Rails Installing Rmagick locally (file_column)

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Kris L. (Guest)
on 2005-12-08 12:28
I'm trying to use the file_column plugin to upload and automatically
resize images. The uploading part works really well, but the images dont
get resized and the thumbnails dont get created. Rails doesn't fail so I
guess file_column is failing silently because Rmagick is not installed
on my system?

This is the code in my model:

 file_column :image,
              :magick => { :geometry => "200x200>" },
              :versions => { "thumb" => "50x50", "medium" => "100x100>"

When I try and install Rmagick via remote gem I get:

"Attempting remote install of 'rmagick'
Builidng native extensions. This could take a while ...
configure:1: Can't exec bin/sh (fatal)
ERROR: While executing gem (RunTimeError)"

I already installed the prerequisit, Imagemagick.

Can anyone see any mistakes?

Many thanks, K.
Kris L. (Guest)
on 2005-12-08 12:38
An ammendment, Rails does fail with an error:

"No such file to load -- RMagick"

So I guess RMagick is not installed. How do I go about doing this if I
can't use gem to install it?
This topic is locked and can not be replied to.