jnicklas/carrierwave — Issue #608: image resize with RMagick not works at ruby 1.9.3-rc1
Author: seufagner
Created: 2012-02-02 19:07:50+00:00
State: open

if i try to use resize_to_fit from RMagick module at version > process method - see uploader file - it crashes app.

------------------------
version :thumb do
process :resize_to_fit => [70, 70]
end
----------------------

it isnt compatible?

trace header:

/Users/fagnermoura/.rvm/gems/ruby-1.9.3-rc1/gems/carrierwave-0.5.8/lib/carrierwave/processing/rmagick.rb:248: [BUG] Segmentation fault
ruby 1.9.3dev (2011-09-23 revision 33323) [x86_64-darwin10.8.0]

-- Control frame information -----------------------------------------------
c:0097 p:---- s:0509 b:0509 l:000508 d:000508 CFUNC :read
c:0096 p:0054 s:0505 b:0505 l:000504 d:000504 METHOD /Users/fagnermoura/.rvm/gems/ruby-1.9.3-rc1/gems/carrierwave-0.5.8/lib/carrierwave/processing/rmagick.rb:248
c:0095 p:0011 s:0496 b:0496 l:000495 d:000495 METHOD /Users/fagnermoura/.rvm/gems/ruby-1.9.3-rc1/gems/carrierwave-0.5.8/lib/carrierwave/processing/rmagick.rb:161
c:0094 p:0044 s:0491 b:0491 l:000480 d:000490 BLOCK /Users/fagnermoura/.rvm/gems/ruby-1.9.3-rc1/gems/carrierwave-0.5.8/lib/carrierwave/uploader/processing.rb:83