Rmagick can not work?

my app adopts file_column,which uses rmagick to generate the images of
different size. under redhat linux,i have imagemagick 6.2.8 installed:
./configure --disable-static --with-modules --without-perl
–without-magick-plus-plus --with-quantum-depth=8
make
make install

and then rmagick is installed:
gem install rmagick

Then i test if rmagick is installed:

ruby -rrubygems -e “require ‘RMagick’; puts Magick::Long_version;”
This is RMagick 1.13.0 ($Date: 2006/06/26 23:32:37 $) Copyright (C) 2006
by Timothy P. Hunter
Built with ImageMagick 6.2.4 01/28/06 Q16 http://www.imagemagick.org
Built for ruby 1.8.4 (2005-12-24) [x86_64-linux]
Web page: http://rmagick.rubyforge.org
Email: [email protected]

however, after rmagick does not work in my app and i can not see any
error information in the logs. btw: i got them worked under ubuntu

Anyone who can tell that if i have missed some ?

very grateful!

Frank

Hi Frank, this not an answer to your question, its just that i got the
rmagick working under ubuntu by installing it via synaptic/apt after
failing to get it working using ruby gems and i’d be interested to here
of how you get it working on redhat as i’m about to switch to a
production redhat server. So if you get it fixed could you post your
method here please?
Regards
Caspar

Frank wrote:

my app adopts file_column,which uses rmagick to generate the images of
different size. under redhat linux,i have imagemagick 6.2.8 installed:
./configure --disable-static --with-modules --without-perl
–without-magick-plus-plus --with-quantum-depth=8
make
make install

and then rmagick is installed:
gem install rmagick

Then i test if rmagick is installed:

ruby -rrubygems -e “require ‘RMagick’; puts Magick::Long_version;”
This is RMagick 1.13.0 ($Date: 2006/06/26 23:32:37 $) Copyright (C) 2006
by Timothy P. Hunter
Built with ImageMagick 6.2.4 01/28/06 Q16 http://www.imagemagick.org
Built for ruby 1.8.4 (2005-12-24) [x86_64-linux]
Web page: http://rmagick.rubyforge.org
Email: [email protected]

however, after rmagick does not work in my app and i can not see any
error information in the logs. btw: i got them worked under ubuntu

Anyone who can tell that if i have missed some ?

very grateful!

Frank

You may need to fiddle with your LD_LIBRARY_PATH or ldconfig. I have
more detail on how I got rmagick and imagemagick working under debian
linux posted here:

http://lemurware.blogspot.com/2006/07/building-rmagickimagemagick-for-debian.html

Without more error information it’s tough to say what might be going
on. There has to be an error showing up somewhere – are you running
with script/server via WeBRICK in development mode and looking at the
WeBRICK output and your development.log?

  • Walter