Hi,
I just tried installing MiniMagick. I ran gem install mini_magick-1.0.1.gem, then (having read the Readme) I copied the .rb file into my app's vendor/plugins directory. But when I tried to use it in my code I got the following error:
uninitialized constant MiniMagick
RAILS_ROOT: script/../config/..
Application Trace | Framework Trace | Full Trace
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:200:in `const_missing'
...
[hundreds of entries]
...
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
script/server:3
This error occured while loading the following files:
mini_magick.rb
I have ImageMagick installed. Any ideas where I'm going wrong?
Cheers,
kitchenboy
|