Forum: Ruby on Rails Minimagick and RoR

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.
Ben C. (Guest)
on 2006-01-03 23:29
Posting here is kind of a last resort: has anyone used Minimagick with
Ruby on Rails, and gotten it working correctly?  I hate posting a "bug"
problem but I'm not if it's *my* problem, or a problem with Imagemagick
and RoR 1.0, which I just installed (upgraded from 0.13.1).

Basically, when I try to run the most basic MM command in ROR:

image = MiniMagick::Image.from_file("test.gif")

...I get an error, "ImageMagick command (identify /tmp/minimagic12741.0
) failed: Error Given 32512".  There's nothing on Google, nothing on any
other forums I could find.  Anyone have any idea?  Like I said, I just
upgraded to ROR 1.0, and the command works fine from a command-line
script.  The MiniMagick stuff is dumped into the /vendor/plugins folder,
and I've checked that ROR is finding it.  One thing: when this error
occurs, I go to check /tmp/minimagic12741.0, and it doesn't exist.

So maybe my question is this: any suggestions on how to put logging into
a plugin?
This topic is locked and can not be replied to.