title: Ruby on Rails, Paperclip: "identify" command working in cmd but not in app
body: <p>I've installed ImageMagick on my Windows 7 64bit and I have the Paperclip Gem. My User model looks like this:</p>
  
  <pre><code>   class User &lt; ActiveRecord::Base
    # Paperclip
    has_attached_file :photo,
      :styles =&gt; {
        :thumb=&gt; "100x100#",
        :small  =&gt; "150x150&gt;" }
    end
  </code></pre>
  
  <p>In paperclip.rb and development.rb I have:</p>
  
  <pre><code>Paperclip.options[:command_path] = 'C:/Program Files/ImageMagick-6.6.7-Q16'
  </code></pre>
  
  <p>My _form looks like this:</p>
  
  <pre><code>    &lt;%= form_for(@user, :html =&gt; { :multipart =&gt; true } )  do |f| %&gt;
    &lt;% if @user.errors.any? %&gt;
      &lt;div id="error_explanation"&gt;
        &lt;h2&gt;&lt;%= pluralize(@user.errors.count, "error") %&gt; prohibited this user from being saved:&lt;/h2&gt;
  
        &lt;ul&gt;
        &lt;% @user.errors.full_messages.each do |msg| %&gt;
          &lt;li&gt;&lt;%= msg %&gt;&lt;/li&gt;
        &lt;% end %&gt;
        &lt;/ul&gt;
      &lt;/div&gt;
    &lt;% end %&gt;
  
    &lt;div class="field"&gt;
      &lt;%= f.label :username %&gt;&lt;br /&gt;
      &lt;%= f.text_field :username %&gt;
    &lt;/div&gt;
    &lt;div class="field"&gt;
      &lt;%= f.label :name %&gt;&lt;br /&gt;
      &lt;%= f.text_field :name %&gt;
    &lt;/div&gt;
    &lt;div class="field"&gt;
      &lt;%= f.label :email %&gt;&lt;br /&gt;
      &lt;%= f.text_field :email %&gt;
    &lt;/div&gt;
    &lt;div class="field"&gt;
      &lt;%= f.label :crypted_password %&gt;&lt;br /&gt;
      &lt;%= f.text_field :crypted_password %&gt;
    &lt;/div&gt;
    &lt;div class="field"&gt;
      &lt;%= f.label :password_salt %&gt;&lt;br /&gt;
      &lt;%= f.text_field :password_salt %&gt;
    &lt;/div&gt;
   &lt;%= f.file_field :photo%&gt;
    &lt;div class="actions"&gt;
      &lt;%= f.submit %&gt;
    &lt;/div&gt;
  
  &lt;% end %&gt;
  
  enter code here
  </code></pre>
  
  <p>I'm getting the following error when uploading an image:</p>
  
  <pre><code>[paperclip] An error was received while processing: #&lt;Paperclip::NotIdentifiedByImageMagickError: C:/Users/John/AppData/Local/Temp/stream20110212-6576-1us1cdl.png is not recognized by the 'identify' command.&gt;  
  </code></pre>
  
  <p>I'm able to use identify in my cmd on that image and it returns metadata about the image without problems.</p>
  
  <p>Please help if you can. I've been stuck on this one issue for over a day now. </p>