# Paperclip - imagemagick Configuration

**URL:** <https://www.ruby-forum.com/t/paperclip-imagemagick-configuration/176593>\
**Category:** Rails\
**Created:** [October 2, 2009, 7:59pm UTC](https://www.ruby-forum.com/t/paperclip-imagemagick-configuration/176593 "2009-10-02T19:59:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [October 2, 2009, 7:59pm UTC](https://www.ruby-forum.com/t/paperclip-imagemagick-configuration/176593/1 "2009-10-02T19:59:10Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [October 2, 2009, 8:19pm UTC](https://www.ruby-forum.com/t/paperclip-imagemagick-configuration/176593/2 "2009-10-02T20:19:04Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [November 10, 2009, 8:47am UTC](https://www.ruby-forum.com/t/paperclip-imagemagick-configuration/176593/3 "2009-11-10T08:47:19Z")

</div>

This did the trick for me! Thanks for sharing!

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [October 19, 2009, 11:30am UTC](https://www.ruby-forum.com/t/paperclip-imagemagick-configuration/176593/4 "2009-10-19T11:30:36Z")

</div>

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.
