Forum: Ruby on Rails Rmagick/File Column Problems

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
A7db9ec803b5895ae5f916a74e2db329?d=identicon&s=25 lists (Guest)
on 2005-12-02 05:20
(Received via mailing list)
I am having trouble getting Rmagick and File Column working on a new
server.
I thought I got everything installed but File Column is giving me
errors:


NameError (uninitialized constant Magick):

/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.3/lib/active_support/dep
endencies.rb:195:in `const_missing'
    /vendor/plugins/file-column-0.3/lib/magick_file_column.rb:8:in
`transform_with_magick'
    /vendor/plugins/file-column-0.3/lib/magick_file_column.rb:96:in
`record_cover_magick_after_assign'
    /vendor/plugins/file-column-0.3/lib/magick_file_column.rb:95:in
`record_cover_magick_after_assign'
    /vendor/plugins/file-column-0.3/lib/file_column.rb:587:in `send'

I know it's not my code as it works on another server.

I have rmagick installed but when I run:
Require 'magick' in the console, I get 'false'.

No errors when I installed rmagick.

Any ideas what I am doing wrong?
B8ed55487e4f2f0feaeb68957dc07b21?d=identicon&s=25 skanthak (Guest)
on 2005-12-03 13:35
(Received via mailing list)
On 12/2/05, Hunter Hillegas <lists@lastonepicked.com> wrote:
> I have rmagick installed but when I run:
> Require 'magick' in the console, I get 'false'.

that's not surprising, as it is should be

   require 'RMagick'

If this does not work (try to load an image via
Magick::Image::read("some_img.jpg") ) then it's a problem with your
rmagick install.

Sebastian
This topic is locked and can not be replied to.