Hammed Malik
2006-Nov-13 23:57 UTC
RMagick throws path errors in Rails but not from the shell (OSX)
Hello All, I''m using FileColumn to store images for a model in my app. I use filecolumn to scale uploaded images to different sizes. This much works fine. I then created a Ruby class for annotating text on the uploaded image. I tested this class from the shell and it works as expected. I then created a plugin for this class and hooked it up to the model. Here''s where I start getting the following error: RMagick: no decode delegate for this image format `/var/tmp/magick-UxU4s8pw''. RMagick: Postscript delegate failed `/var/tmp/magick-UxU4s8pw''. Since the class works fine on its own, I''m sure that all the dependencies for RMagic (for annotating text) are installed correctly. Seems to be a path issue in Rails. Any thoughts? Thanks Hammed --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---