|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
paperclip - imagemagick ConfigurationI'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 --~--~---------~--~----~------------~-------~--~----~ 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@... To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@... For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: paperclip - imagemagick ConfigurationI 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...@...> 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 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@... To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@... For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: paperclip - imagemagick ConfigurationAlso 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...@...> 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...@...> 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 --~--~---------~--~----~------------~-------~--~----~ 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@... To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@... For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: paperclip - imagemagick ConfigurationThis did the trick for me! Thanks for sharing! On Oct 2, 1:17 pm, tomrossi7 <t...@...> 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...@...> 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 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@... To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@... For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~--- |
| Free embeddable forum powered by Nabble | Forum Help |