Forum: Ruby on Rails Problems with RMagick libraries

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.
44c2faec06d85afd3fda2d54f654569b?d=identicon&s=25 SkyPlooM (Guest)
on 2007-05-13 20:04
Hi, I'm trying to use File_colum plugin
with RMagick.

When I use in the model:
class Usuario < ActiveRecord::Base
file_column :image of the code....

There's no problem, images are uploaded and all is working ok. The
problem comes when I try to use:

class Usuario < ActiveRecord::Base
file_column :image, :magick => { :geometry => "640x480>" } of the code....

I receive this error:

/usr/lib/ruby/gems/1.8/gems/rmagick-1.15.4/lib/ cannot open
shared object file: No such file or directory -
RAILS_ROOT: ../config/..

This error occurred while loading the following files:

I try adding require 'RMagick' to the models, but it still not working.
I checked in my directory
/usr/lib/ruby/gems/1.8/gems/rmagick-1.15.4/lib/ and it exists.

I can't change the file because the admin server don't want
to give me access and I can't set LD_.._PATH= /usr/lib for the same
The solution have to be something in my rails directory, like put the
libraries and RMagick in, for example, rails/plugin and call
it from environment.rb... but I no have idea about how to do.

Some ideas about this problem? thanks!
63399cd072046c7e41d475d0855a5b4a?d=identicon&s=25 Gustavo (Guest)
on 2007-05-19 06:11
(Received via mailing list)
Hey, I have the same problem.
Have you found any solution?

SkyPlooM escreveu:
This topic is locked and can not be replied to.