In the rails app I''m making, I dropped MiniMagick into the vendor
folder
(vendor/mini_magick). In my controller, when I call:
image = MiniMagick::Image.from_file(path)
...I get a "uninitialized constant MiniMagick" error. From what I can
tell, installing a plugin such as this should be as simple as dropping
it into the vendor folder, then accessing its functions from the
controller, but obviously not. Browsing some similar issues, I''ve
checked to make sure ImageMagick works ("convert test.gif testjpg"),
and
double-checked that RMagick was installed ("gem install rmagick").
Any
ideas from someone who''s installed MiniMagick, or a plugin with similar
issues?
--
Posted via http://www.ruby-forum.com/.