I am getting this following error when using file_column with RMagick:
uninitialized constant Magick
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/
active_support/dependencies.rb:200:in const_missing' ./script/../config/../vendor/plugins/rails_file_column/plugins/ file_column/branches/kyle/lib/file_column.rb:621:in
file_column’
#{RAILS_ROOT}/app/models/story_entry.rb:7
./script/…/config/…/app/controllers/story_controller.rb:13:in `index’
This error occured while loading the following files:
story_entry.rb
magick.rb
It works fine without the :magick specification:
file_column :image, :magick => { :versions => { “medium” =>
“300x200>” } }
I am running OS X Tiger, and I installed RMagick following the
instruction here:
http://rmagick.rubyforge.org/install-osx.html
From command line, rmagick_test works fine.
However, it Rmagick seems to not work from file_column. I even tried
openning up environment.rb to add require ‘RMagick’, but nothing helps.
Thank you,
Shark Fin S.