Forum: Ruby on Rails NameError (uninitialized constant FileColumn::Magick::ImageList

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.
Simon (Guest)
on 2009-05-25 20:54
(Received via mailing list)
Hi,

I have been using RMagick and File Column in my app together without a
problem, but when I tried to add in some new functionality in my model
where I use file_column, I got the error in the subject line.  The
offending line in my code is:

image = Magick::ImageList.new(path_to_image)

Has anybody ever seen this problem when using the two libraries
together?  I have tried adding in a require 'RMagick' and an include
Magick, but that doesn't seem to clear up the (apparent) namespace
issues.

Any ideas here would be appreciated.

Thanks,

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