imagemagick - Paperclip my Image is not recognized by the 'identify' command. (Running Windows) -


im using paperclip size images keep getting error

( 1 error prohibited project being saved: image c:/docume~1/hp_adm~1/locals~1/temp/stream,5584,0.jpg not recognized 'identify' command. )

ive tried pretty found online:

  • adding paperclip.options[:command_path] = "c:\imagemagick-6.6.6-q16" development.rb
  • doing changes project.rb (removing single quotes)

i'm running windows latest ruby/rails , paperclip 1.3.3

im getting rails , have no idea do. know common problem of answers have come across havent helped.

thanks in advance.

i able work on windows xp (my dev environment - deployment heroku worked fine) doing following:

  1. installing imagemagick c:\imagemagick
  2. editing config/environments/development.rb , adding following

    paperclip.options[:command_path] = "c:/imagem~1"

  3. kill , restart dev server pick new config.

i not able work using "long" windows paths. '~1' monstrosity. so, thing might have change

paperclip.options[:command_path] = "c:\imagemagick-6.6.6-q16" 

to

paperclip.options[:command_path] = "c:/imagem~1" 

Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -