Rails Paperclip Error: identify ‘-format’ ‘%wx%h’
I was receiving the “identify ‘-format’ ‘%wx%h’ ” error with Paperclip. The reason is because Paperclip requires ImageMagick if images are manipulated, and the path must be specified for this to happen. In order to find the path in Windows, what I did was:
- open a command prompt (CMD from the start menu)
- navigate to c://
- type “PATH”
- it should show the path(s) that can be used for ImageMagick
- I added this line to development.rb
Paperclip.options[:command_path] = “/bin” #(in place of “/bin” put your path)
Restart your server.
Comments are closed.