thoughtbot/paperclip — Issue #776: Error when adding :styles
Author: Agis-
Created: 2012-03-09 15:53:34+00:00
State: open

Using paperclip 2.7.0 and having installed ImageMagick 6.7.5-7 with Homebrew, I get this error when submitting the form, but only when I pass a :styles option in the model:

```bash
Command :: identify -format %wx%h '/var/folders/qr/krb64q_92qzds5_mc2jmvfjm0000gn/T/stream20120309-360-1dz59od.jpg[0]'
[paperclip] An error was received while processing: #
```

in my model
```ruby
has_attached_file :image, styles: { thumb: "140x130" }, default_styles: :thumb
```
if I remove the styles it works just fine. And my development.rb file is fine (contains the line Paperclip.options[:command_path] = "/usr/local/bin" ).