title: Paperclip::Errors::NotIdentifiedByImageMagickError (Win 7)
body: <p>I am receiving the "Paperclip::Errors::NotIdentifiedByImageMagickError" error. To solve this I added the line <code>Paperclip.options[:command_path] = '/usr/local/bin'</code> to my development.rb file. However I also encounter the "image has contents that are not what they are reported to be", which I previously solved with <code>Paperclip.options[:command_path] = 'C:\Program Files (x86)\GnuWin32\bin'</code></p>
  
  <p>The issue is that upon having both lines in my development.rb file, one line will over-write the other, such that if the line with <code>'/usr/local/bin'</code> is first, I will receive the "Paperclip::Errors::NotIdentifiedByImageMagickError" error and if the <code>'C:\Program Files (x86)\GnuWin32\bin</code> is first, I will receive the "image has contents that are not what they are reported to be" error.</p>
  
  <p>In my user.rb I have the following:</p>
  
  <pre><code>has_attached_file :avatar,
    :path =&gt; ":rails_root/public/system/:attachment/:id/:style/:filename",
    :url =&gt; "/system/:attachment/:id/:style/:filename",
    :styles =&gt; {:small =&gt; "150x150&gt;"}
  do_not_validate_attachment_file_type :avatar
  </code></pre>
  
  <p>If I do not include the styles, and I remove the <code>'/usr/local/bin'</code> line from my development.rb file, the uploading of images works fine.</p>
  
  <p>I have attempted the following instructions on <a href="https://github.com/thoughtbot/paperclip" rel="nofollow">https://github.com/thoughtbot/paperclip</a> to not need the <code>'C:\Program Files (x86)\GnuWin32\bin</code> line by editing the PATH variables but that did not work.</p>