I''m not sure what changed, but I started getting errors from the paperclip plugin: [paperclip] An error was received while processing: #<Paperclip::NotIdentifiedByImageMagickError: /tmp/stream.13688.0 is not recognized by the ''identify'' command.> I have verified the command path is correct. What else should I be checking? Thanks! Tom
I figured it out! I was setting my options like this (which used to work): Paperclip::Attachment.default_options.merge!(:command_path => "/usr/ local/bin") But I noticed others using this method, which solved my problem! Paperclip.options.merge!(:command_path => "/usr/local/bin") I hope this helps someone else! Thanks, Tom On Oct 2, 1:57 pm, TomRossi7 <t...-5bxIUPmzHicFraO2wh7vUA@public.gmane.org> wrote:> I''m not sure what changed, but I started getting errors from the > paperclip plugin: > > [paperclip] An error was received while processing: > #<Paperclip::NotIdentifiedByImageMagickError: /tmp/stream.13688.0 is > not recognized by the ''identify'' command.> > > I have verified the command path is correct. What else should I be > checking? > > Thanks! > Tom
Also for other peoples benefit: For windows, make sure you close down the rails server and any command prompt instances and restart them. The imagemagick install path in program files (the folder containing identify.exe) needs to be accessible in the PATH variable. To check type echo %PATH% in the command prompt. If the imagemagick installation folder shows, the rails app should function. On Oct 3, 2:17 am, tomrossi7 <t...-5bxIUPmzHicFraO2wh7vUA@public.gmane.org> wrote:> I figured it out! I was setting my options like this (which used to > work): > > Paperclip::Attachment.default_options.merge!(:command_path => "/usr/ > local/bin") > > But I noticed others using this method, which solved my problem! > > Paperclip.options.merge!(:command_path => "/usr/local/bin") > > I hope this helps someone else! > > Thanks, > Tom > > On Oct 2, 1:57 pm, TomRossi7 <t...-5bxIUPmzHicFraO2wh7vUA@public.gmane.org> wrote: > > > > > I''m not sure what changed, but I started getting errors from the > >paperclipplugin: > > > [paperclip] An error was received while processing: > > #<Paperclip::NotIdentifiedByImageMagickError: /tmp/stream.13688.0 is > > not recognized by the ''identify'' command.> > > > I have verified the command path is correct. What else should I be > > checking? > > > Thanks! > > Tom
This did the trick for me! Thanks for sharing! On Oct 2, 1:17 pm, tomrossi7 <t...-5bxIUPmzHicFraO2wh7vUA@public.gmane.org> wrote:> I figured it out! I was setting my options like this (which used to > work): > > Paperclip::Attachment.default_options.merge!(:command_path => "/usr/ > local/bin") > > But I noticed others using this method, which solved my problem! > > Paperclip.options.merge!(:command_path => "/usr/local/bin") > > I hope this helps someone else! > > Thanks, > Tom > > On Oct 2, 1:57 pm, TomRossi7 <t...-5bxIUPmzHicFraO2wh7vUA@public.gmane.org> wrote: > > > > > I''m not sure what changed, but I started getting errors from the > > paperclip plugin: > > > [paperclip] An error was received while processing: > > #<Paperclip::NotIdentifiedByImageMagickError: /tmp/stream.13688.0 is > > not recognized by the ''identify'' command.> > > > I have verified the command path is correct. What else should I be > > checking? > > > Thanks! > > Tom