markevans/dragonfly — Issue #147: Windows: Ruby Crash/no thumbs
Author: bravedick
Created: 2011-11-21 17:09:14+00:00
State: open

Ruby:
C:\ImageMagick\images>ruby -v
ruby 1.9.2p290 (2011-07-09) [i386-mingw32]

Gemfile:'
gem 'mini_magick'
gem 'dragonfly'
gem 'rack-cache', :require => 'rack/cache'

View:
<%= image_tag @user.avatar.thumb('50x50').url if @user.avatar_uid %>

HTML:

PATH: C:\ImageMagick;

Console:
[2011-11-21 19:01:05] ERROR Dragonfly::Shell::CommandFailed: Command failed (convert "D:/Dropbox/RailsApps/moocars/public/system/dragonfly/development/2011/11/21/19_00_50_439_theme_corruption.png" "-resize" "50x50
" "C:/Users/pc/AppData/Local/Temp/dragonfly20111121-4784-1ep0n5m") with exit status 4
C:/Ruby192/lib/ruby/gems/1.9.1/gems/dragonfly-0.9.8/lib/dragonfly/shell.rb:29:in `raise_shell_command_failed'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/dragonfly-0.9.8/lib/dragonfly/shell.rb:23:in `run'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/dragonfly-0.9.8/lib/dragonfly/image_magick/utils.rb:17:in `convert'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/dragonfly-0.9.8/lib/dragonfly/image_magick/processor.rb:98:in `convert'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/dragonfly-0.9.8/lib/dragonfly/image_magick/processor.rb:26:in `resize'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/dragonfly-0.9.8/lib/dragonfly/image_magick/processor.rb:82:in `thumb'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/dragonfly-0.9.8/lib/dragonfly/function_manager.rb:39:in `call'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/dragonfly-0.9.8/lib/dragonfly/function_manager.rb:39:in `block (2 levels) in call_last'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/dragonfly-0.9.8/lib/dragonfly/function_manager.rb:38:in `catch'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/dragonfly-0.9.8/lib/dragonfly/function_manager.rb:38:in `block in call_last'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/dragonfly-0.9.8/lib/dragonfly/function_manager.rb:37:in `each'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/dragonfly-0.9.8/lib/dragonfly/function_manager.rb:37:in `call_last'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/dragonfly-0.9.8/lib/dragonfly/processor.rb:5:in `process'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/dragonfly-0.9.8/lib/dragonfly/job.rb:77:in `apply'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/dragonfly-0.9.8/lib/dragonfly/job.rb:249:in `block in apply'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/dragonfly-0.9.8/lib/dragonfly/job.rb:249:in `each'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/dragonfly-0.9.8/lib/dragonfly/job.rb:249:in `apply'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/dragonfly-0.9.8/lib/dragonfly/response.rb:25:in `to_response'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/dragonfly-0.9.8/lib/dragonfly/server.rb:43:in `block in call'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/dragonfly-0.9.8/lib/dragonfly/server.rb:39:in `catch'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/dragonfly-0.9.8/lib/dragonfly/server.rb:39:in `call'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/dragonfly-0.9.8/lib/dragonfly/middleware.rb:11:in `call'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rack-cache-1.0.3/lib/rack/cache/context.rb:132:in `forward'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rack-cache-1.0.3/lib/rack/cache/context.rb:243:in `fetch'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rack-cache-1.0.3/lib/rack/cache/context.rb:181:in `lookup'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rack-cache-1.0.3/lib/rack/cache/context.rb:65:in `call!'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rack-cache-1.0.3/lib/rack/cache/context.rb:50:in `call'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/railties-3.1.0/lib/rails/engine.rb:455:in `call'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/railties-3.1.0/lib/rails/rack/content_length.rb:16:in `call'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/railties-3.1.0/lib/rails/rack/log_tailer.rb:14:in `call'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rack-1.3.5/lib/rack/handler/webrick.rb:59:in `service'
C:/Ruby192/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
C:/Ruby192/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
C:/Ruby192/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'