title: Heroku failing to seed photos. I am using paperclip and imagemagick
body: <p>here is my photo model:</p>
  
  <pre><code>class Photo &lt; ActiveRecord::Base
    belongs_to :category
    belongs_to :user
    belongs_to :trip_info
  
    has_attached_file :avatar,
                      :styles =&gt; { :medium =&gt; "310x300#&gt;",
                                   :thumb =&gt; "100x100#&gt;",
                                   :city =&gt; "260x250#",
                                   :large =&gt; "500x300#"
                                  },
                      :default_url =&gt; "/images/:style/logo3.png"
  
    validates_attachment_content_type :avatar, :content_type =&gt; /\Aimage\/.*\Z/
  end
  </code></pre>
  
  <p>In my production.rb and development.rb file:</p>
  
  <pre><code>Paperclip.options[:command_path] = "/usr/local/bin/"
  </code></pre>
  
  <p>When I type in which convert in my terminal, I see:</p>
  
  <pre><code>/usr/local/bin/convert
  </code></pre>
  
  <p>When I try to push to heroku, I get this error message:</p>
  
  <pre><code>ActiveRecord::RecordInvalid: Validation failed: Avatar There was an error processing the thumbnail for 2226e4749f8e482e24c4c2d9902e3b5120150403-3-1taxt3u, Avatar There was an error processing the thumbnail for 2226e4749f8e482e24c4c2d9902e3b5120150403-3-1taxt3u
  </code></pre>
  
  <p>Aragh Heroku... what do I do to push up and seed my database? These errors occur when I am trying to run heroku run rake db:seed.</p>