Topic: Carrierwave breaks when enabling RMagick

Hi, it has been a while since I did any RoR work. I am trying to get CarrierWave to resize images, but as soon as I uncomment the include line for RMagick and do this:

version :thumb do
    process :resize_to_limit => [200,200]
  end

It breaks and gives me this long list of errors:

Served asset /paintings.js - 304 Not Modified (2ms)
/Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/carrierwave-0.5.7/lib/carrierwave/processing/rmagick.rb:248: [BUG] Segmentation fault
ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-darwin11.0.0]

-- control frame ----------
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/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/carrierwave-0.5.7/lib/carrierwave/processing/rmagick.rb:248
c:0095 p:0011 s:0496 b:0496 l:000495 d:000495 METHOD /Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/carrierwave-0.5.7/lib/carrierwave/processing/rmagick.rb:132
c:0094 p:0044 s:0491 b:0491 l:000480 d:000490 BLOCK  /Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/carrierwave-0.5.7/lib/carrierwave/uploader/processing.rb:83
c:0093 p:---- s:0486 b:0486 l:000485 d:000485 FINISH
c:0092 p:---- s:0484 b:0484 l:000483 d:000483 CFUNC  :each
c:0091 p:0037 s:0481 b:0481 l:000480 d:000480 METHOD /Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/carrierwave-0.5.7/lib/carrierwave/uploader/processing.rb:81
c:0090 p:0015 s:0477 b:0477 l:000468 d:000476 BLOCK  /Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/carrierwave-0.5.7/lib/carrierwave/uploader/callbacks.rb:18
c:0089 p:---- s:0474 b:0474 l:000473 d:000473 FINISH
c:0088 p:---- s:0472 b:0472 l:000471 d:000471 CFUNC  :each
c:0087 p:0059 s:0469 b:0469 l:000468 d:000468 METHOD /Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/carrierwave-0.5.7/lib/carrierwave/uploader/callbacks.rb:18
c:0086 p:0091 s:0464 b:0464 l:000463 d:000463 METHOD /Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/carrierwave-0.5.7/lib/carrierwave/uploader/cache.rb:107
c:0085 p:0035 s:0460 b:0460 l:000450 d:000459 BLOCK  /Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/carrierwave-0.5.7/lib/carrierwave/uploader/versions.rb:215
c:0084 p:---- s:0456 b:0456 l:000455 d:000455 FINISH
c:0083 p:---- s:0454 b:0454 l:000453 d:000453 CFUNC  :each
c:0082 p:0055 s:0451 b:0451 l:000450 d:000450 METHOD /Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/carrierwave-0.5.7/lib/carrierwave/uploader/versions.rb:213
c:0081 p:0015 s:0446 b:0446 l:000437 d:000445 BLOCK  /Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/carrierwave-0.5.7/lib/carrierwave/uploader/callbacks.rb:18
c:0080 p:---- s:0443 b:0443 l:000442 d:000442 FINISH
c:0079 p:---- s:0441 b:0441 l:000440 d:000440 CFUNC  :each
c:0078 p:0059 s:0438 b:0438 l:000437 d:000437 METHOD /Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/carrierwave-0.5.7/lib/carrierwave/uploader/callbacks.rb:18
c:0077 p:0091 s:0433 b:0433 l:000432 d:000432 METHOD /Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/carrierwave-0.5.7/lib/carrierwave/uploader/cache.rb:107
c:0076 p:0019 s:0429 b:0429 l:000428 d:000428 METHOD /Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/carrierwave-0.5.7/lib/carrierwave/mount.rb:317
c:0075 p:0021 s:0424 b:0424 l:000423 d:000423 METHOD /Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/carrierwave-0.5.7/lib/carrierwave/mount.rb:173
c:0074 p:0054 s:0420 b:0420 l:000419 d:000419 METHOD /Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/carrierwave-0.5.7/lib/carrierwave/orm/activerecord.rb:37
c:0073 p:0069 s:0415 b:0415 l:000405 d:000414 BLOCK  /Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.0/lib/active_record/base.rb:1745
c:0072 p:---- s:0411 b:0411 l:000410 d:000410 FINISH
c:0071 p:---- s:0409 b:0409 l:000408 d:000408 CFUNC  :each
c:0070 p:0083 s:0406 b:0406 l:000405 d:000405 METHOD /Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.0/lib/active_record/base.rb:1741
c:0069 p:0137 s:0399 b:0399 l:000398 d:000398 METHOD /Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.0/lib/active_record/base.rb:1561
c:0068 p:---- s:0394 b:0394 l:000393 d:000393 FINISH
c:0067 p:---- s:0392 b:0392 l:000391 d:000391 CFUNC  :new
c:0066 p:0028 s:0388 b:0388 l:000387 d:000387 METHOD /Users/hugovermaak/Web/kiki/app/controllers/paintings_controller.rb:43
c:0065 p:0014 s:0385 b:0385 l:000384 d:000384 METHOD /Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.0/lib/action_controller/metal/implicit_render.rb:4
c:0064 p:0015 s:0379 b:0379 l:000378 d:000378 METHOD /Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.0/lib/abstract_controller/base.rb:167
c:0063 p:0041 s:0374 b:0374 l:000373 d:000373 METHOD /Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.0/lib/action_controller/metal/rendering.rb:10
c:0062 p:0010 s:0370 b:0370 l:0001b0 d:000369 BLOCK  /Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.0/lib/abstract_controller/callbacks.rb:18
c:0061 p:0066 s:0368 b:0368 l:000367 d:000367 METHOD /Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.0/lib/active_support/callbacks.rb:416
c:0060 p:0113 s:0362 b:0362 l:000361 d:000361 METHOD /Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.0/lib/active_support/callbacks.rb:386
c:0059 p:0024 s:0353 b:0353 l:000352 d:000352 METHOD /Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.0/lib/active_support/callbacks.rb:81
c:0058 p:0020 s:0347 b:0347 l:0001b0 d:0001b0 METHOD /Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.0/lib/abstract_controller/callbacks.rb:17
c:0057 p:0012 s:0343 b:0343 l:000342 d:000342 METHOD /Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.0/lib/action_controller/metal/rescue.rb:17
c:0056 p:0010 s:0338 b:0338 l:000319 d:000337 BLOCK  /Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.0/lib/action_controller/metal/instrumentation.rb:30
c:0055 p:0017 s:0334 b:0334 l:000324 d:000333 BLOCK  /Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.0/lib/active_support/notifications.rb:53
c:0054 p:0032 s:0332 b:0332 l:000331 d:000331 METHOD /Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.0/lib/active_support/notifications/instrumenter.rb:21
c:0053 p:0036 s:0325 b:0325 l:000324 d:000324 METHOD /Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.0/lib/active_support/notifications.rb:53
c:0052 p:0152 s:0320 b:0320 l:000319 d:000319 METHOD /Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.0/lib/action_controller/metal/instrumentation.rb:29
c:0051 p:0143 s:0315 b:0315 l:000314 d:000314 METHOD /Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.0/lib/action_controller/metal/params_wrapper.rb:201
c:0050 p:0032 s:0309 b:0309 l:000308 d:000308 METHOD /Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.0/lib/active_record/railties/controller_runtime.rb:18
c:0049 p:0093 s:0304 b:0304 l:000303 d:000303 METHOD /Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.0/lib/abstract_controller/base.rb:121
c:0048 p:0084 s:0298 b:0298 l:000297 d:000297 METHOD /Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.0/lib/abstract_controller/rendering.rb:45
c:0047 p:0048 s:0293 b:0293 l:000292 d:000292 METHOD /Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.0/lib/action_controller/metal.rb:193
c:0046 p:0086 s:0288 b:0288 l:000287 d:000287 METHOD /Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.0/lib/action_controller/metal/rack_delegation.rb:14
c:0045 p:0030 s:0282 b:0282 l:0018c8 d:000281 BLOCK  /Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.0/lib/action_controller/metal.rb:236
c:0044 p:---- s:0279 b:0279 l:000278 d:000278 FINISH
c:0043 p:---- s:0277 b:0277 l:000276 d:000276 CFUNC  :call
c:0042 p:0022 s:0273 b:0273 l:000272 d:000272 METHOD /Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.0/lib/action_dispatch/routing/route_set.rb:65
c:0041 p:0094 s:0267 b:0267 l:000266 d:000266 METHOD /Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.0/lib/action_dispatch/routing/route_set.rb:29
c:0040 p:0127 s:0261 b:0261 l:000232 d:000260 BLOCK  /Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/rack-mount-0.8.3/lib/rack/mount/route_set.rb:152
c:0039 p:0014 s:0254 b:0254 l:000238 d:000253 BLOCK  /Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/rack-mount-0.8.3/lib/rack/mount/code_generation.rb:96
c:0038 p:0287 s:0249 b:0249 l:000248 d:000248 METHOD /Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/rack-mount-0.8.3/lib/rack/mount/code_generation.rb:75
c:0037 p:0198 s:0239 b:0239 l:000238 d:000238 METHOD /Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/rack-mount-0.8.3/lib/rack/mount/code_generation.rb:95
c:0036 p:0092 s:0233 b:0233 l:000232 d:000232 METHOD /Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/rack-mount-0.8.3/lib/rack/mount/route_set.rb:141
c:0035 p:0025 s:0227 b:0227 l:000226 d:000226 METHOD /Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.0/lib/action_dispatch/routing/route_set.rb:531
c:0034 p:0015 s:0223 b:0223 l:000222 d:000222 METHOD /Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.0/lib/action_dispatch/middleware/best_standards_support.rb:17
c:0033 p:0015 s:0216 b:0216 l:000215 d:000215 METHOD /Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.3.2/lib/rack/etag.rb:23
c:0032 p:0052 s:0208 b:0208 l:000207 d:000207 METHOD /Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.3.2/lib/rack/conditionalget.rb:35
c:0031 p:0093 s:0201 b:0201 l:000200 d:000200 METHOD /Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.0/lib/action_dispatch/middleware/head.rb:14
c:0030 p:0046 s:0194 b:0194 l:000193 d:000193 METHOD /Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.0/lib/action_dispatch/middleware/params_parser.rb:21
c:0029 p:0054 s:0189 b:0189 l:000188 d:000188 METHOD /Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.0/lib/action_dispatch/middleware/flash.rb:243
c:0028 p:0031 s:0181 b:0181 l:000180 d:000180 METHOD /Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.3.2/lib/rack/session/abstract/id.rb:195
c:0027 p:0013 s:0173 b:0173 l:000172 d:000172 METHOD /Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.3.2/lib/rack/session/abstract/id.rb:190
c:0026 p:0020 s:0169 b:0169 l:000168 d:000168 METHOD /Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.0/lib/action_dispatch/middleware/cookies.rb:326
c:0025 p:0064 s:0161 b:0161 l:000160 d:000160 METHOD /Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.0/lib/active_record/query_cache.rb:62
c:0024 p:0029 s:0152 b:0152 l:000151 d:000151 METHOD /Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.0/lib/active_record/connection_adapters/abstract/connection_
c:0023 p:0014 s:0144 b:0144 l:001e30 d:000143 BLOCK  /Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.0/lib/action_dispatch/middleware/callbacks.rb:29
c:0022 p:0155 s:0142 b:0142 l:000141 d:000141 METHOD /Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.0/lib/active_support/callbacks.rb:392
c:0021 p:0024 s:0132 b:0132 l:000131 d:000131 METHOD /Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.0/lib/active_support/callbacks.rb:81
c:0020 p:0013 s:0126 b:0126 l:001e30 d:001e30 METHOD /Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.0/lib/action_dispatch/middleware/callbacks.rb:28
c:0019 p:0027 s:0122 b:0122 l:000121 d:000121 METHOD /Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.0/lib/action_dispatch/middleware/reloader.rb:68
c:0018 p:0015 s:0117 b:0117 l:000116 d:000116 METHOD /Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.3.2/lib/rack/sendfile.rb:101
c:0017 p:0049 s:0107 b:0107 l:000106 d:000106 METHOD /Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.0/lib/action_dispatch/middleware/remote_ip.rb:48
c:0016 p:0017 s:0103 b:0103 l:000102 d:000102 METHOD /Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.0/lib/action_dispatch/middleware/show_exceptions.rb:47
c:0015 p:0027 s:0095 b:0095 l:000094 d:000094 METHOD /Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.0/lib/rails/rack/logger.rb:13
c:0014 p:0155 s:0091 b:0091 l:000090 d:000090 METHOD /Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.3.2/lib/rack/methodoverride.rb:24
c:0013 p:0032 s:0085 b:0085 l:000084 d:000084 METHOD /Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.3.2/lib/rack/runtime.rb:17
c:0012 p:0057 s:0076 b:0076 l:000075 d:000075 METHOD /Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.0/lib/active_support/cache/strategy/local_cache.rb:72
c:0011 p:0068 s:0072 b:0072 l:000071 d:000071 METHOD /Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.3.2/lib/rack/lock.rb:15
c:0010 p:0124 s:0066 b:0066 l:000065 d:000065 METHOD /Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.0/lib/action_dispatch/middleware/static.rb:53
c:0009 p:0032 s:0060 b:0060 l:000059 d:000059 METHOD /Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.0/lib/rails/engine.rb:455
c:0008 p:0015 s:0056 b:0056 l:000055 d:000055 METHOD /Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.0/lib/rails/rack/content_length.rb:16
c:0007 p:0015 s:0047 b:0047 l:000046 d:000046 METHOD /Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.0/lib/rails/rack/log_tailer.rb:14
c:0006 p:0356 s:0042 b:0042 l:000041 d:000041 METHOD /Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.3.2/lib/rack/handler/webrick.rb:59
c:0005 p:0257 s:0030 b:0030 l:000029 d:000029 METHOD /Users/hugovermaak/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/httpserver.rb:111
c:0004 p:0393 s:0020 b:0020 l:000019 d:000019 METHOD /Users/hugovermaak/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/httpserver.rb:70
c:0003 p:0126 s:0009 b:0009 l:0004f8 d:000008 BLOCK  /Users/hugovermaak/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/server.rb:183
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:---- s:0002 b:0002 l:000001 d:000001 TOP   
---------------------------
-- Ruby level backtrace information ----------------------------------------
/Users/hugovermaak/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
/Users/hugovermaak/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
/Users/hugovermaak/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
/Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.3.2/lib/rack/handler/webrick.rb:59:in `service'
/Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.0/lib/rails/rack/log_tailer.rb:14:in `call'
/Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.0/lib/rails/rack/content_length.rb:16:in `call'
/Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.0/lib/rails/engine.rb:455:in `call'
/Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.0/lib/action_dispatch/middleware/static.rb:53:in `call'
/Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.3.2/lib/rack/lock.rb:15:in `call'
/Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.0/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
/Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.3.2/lib/rack/runtime.rb:17:in `call'
/Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.3.2/lib/rack/methodoverride.rb:24:in `call'
/Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.0/lib/rails/rack/logger.rb:13:in `call'
/Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.0/lib/action_dispatch/middleware/show_exceptions.rb:47:in `call'
/Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.0/lib/action_dispatch/middleware/remote_ip.rb:48:in `call'
/Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.3.2/lib/rack/sendfile.rb:101:in `call'
/Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.0/lib/action_dispatch/middleware/reloader.rb:68:in `call'
/Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.0/lib/action_dispatch/middleware/callbacks.rb:28:in `call'
/Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.0/lib/active_support/callbacks.rb:81:in `run_callbacks'
/Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.0/lib/active_support/callbacks.rb:392:in `_run_call_callbacks'
/Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.0/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
/Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:477:in `call'
/Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.0/lib/active_record/query_cache.rb:62:in `call'
/Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.0/lib/action_dispatch/middleware/cookies.rb:326:in `call'
/Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.3.2/lib/rack/session/abstract/id.rb:190:in `call'
/Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.3.2/lib/rack/session/abstract/id.rb:195:in `context'
/Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.0/lib/action_dispatch/middleware/flash.rb:243:in `call'
/Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.0/lib/action_dispatch/middleware/params_parser.rb:21:in `call'
/Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.0/lib/action_dispatch/middleware/head.rb:14:in `call'
/Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.3.2/lib/rack/conditionalget.rb:35:in `call'
/Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.3.2/lib/rack/etag.rb:23:in `call'
/Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.0/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
/Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.0/lib/action_dispatch/routing/route_set.rb:531:in `call'
/Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/rack-mount-0.8.3/lib/rack/mount/route_set.rb:141:in `call'
/Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/rack-mount-0.8.3/lib/rack/mount/code_generation.rb:95:in `recognize'
/Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/rack-mount-0.8.3/lib/rack/mount/code_generation.rb:75:in `optimized_each'
/Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/rack-mount-0.8.3/lib/rack/mount/code_generation.rb:96:in `block in recognize'
/Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/rack-mount-0.8.3/lib/rack/mount/route_set.rb:152:in `block in call'
/Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.0/lib/action_dispatch/routing/route_set.rb:29:in `call'
/Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.0/lib/action_dispatch/routing/route_set.rb:65:in `dispatch'
/Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.0/lib/action_dispatch/routing/route_set.rb:65:in `call'
/Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.0/lib/action_controller/metal.rb:236:in `block in action'
/Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.0/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
/Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.0/lib/action_controller/metal.rb:193:in `dispatch'
/Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.0/lib/abstract_controller/rendering.rb:45:in `process'
/Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.0/lib/abstract_controller/base.rb:121:in `process'
/Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.0/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
/Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.0/lib/action_controller/metal/params_wrapper.rb:201:in `process_action'
/Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.0/lib/action_controller/metal/instrumentation.rb:29:in `process_action'
/Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.0/lib/active_support/notifications.rb:53:in `instrument'
/Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.0/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
/Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.0/lib/active_support/notifications.rb:53:in `block in instrument'
/Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.0/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
/Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.0/lib/action_controller/metal/rescue.rb:17:in `process_action'
/Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.0/lib/abstract_controller/callbacks.rb:17:in `process_action'
/Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.0/lib/active_support/callbacks.rb:81:in `run_callbacks'
/Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.0/lib/active_support/callbacks.rb:386:in `_run_process_action_callbacks'
/Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.0/lib/active_support/callbacks.rb:416:in `_run__1016194579486252427__process_action__2215179210963184471__callbacks'
/Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.0/lib/abstract_controller/callbacks.rb:18:in `block in process_action'
/Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.0/lib/action_controller/metal/rendering.rb:10:in `process_action'
/Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.0/lib/abstract_controller/base.rb:167:in `process_action'
/Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.0/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
/Users/hugovermaak/Web/kiki/app/controllers/paintings_controller.rb:43:in `create'
/Users/hugovermaak/Web/kiki/app/controllers/paintings_controller.rb:43:in `new'
/Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.0/lib/active_record/base.rb:1561:in `initialize'
/Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.0/lib/active_record/base.rb:1741:in `assign_attributes'
/Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.0/lib/active_record/base.rb:1741:in `each'
/Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.0/lib/active_record/base.rb:1745:in `block in assign_attributes'
/Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/carrierwave-0.5.7/lib/carrierwave/orm/activerecord.rb:37:in `image='
/Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/carrierwave-0.5.7/lib/carrierwave/mount.rb:173:in `image='
/Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/carrierwave-0.5.7/lib/carrierwave/mount.rb:317:in `cache'
/Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/carrierwave-0.5.7/lib/carrierwave/uploader/cache.rb:107:in `cache!'
/Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/carrierwave-0.5.7/lib/carrierwave/uploader/callbacks.rb:18:in `with_callbacks'
/Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/carrierwave-0.5.7/lib/carrierwave/uploader/callbacks.rb:18:in `each'
/Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/carrierwave-0.5.7/lib/carrierwave/uploader/callbacks.rb:18:in `block in with_callbacks'
/Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/carrierwave-0.5.7/lib/carrierwave/uploader/versions.rb:213:in `cache_versions!'
/Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/carrierwave-0.5.7/lib/carrierwave/uploader/versions.rb:213:in `each'
/Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/carrierwave-0.5.7/lib/carrierwave/uploader/versions.rb:215:in `block in cache_versions!'
/Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/carrierwave-0.5.7/lib/carrierwave/uploader/cache.rb:107:in `cache!'
/Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/carrierwave-0.5.7/lib/carrierwave/uploader/callbacks.rb:18:in `with_callbacks'
/Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/carrierwave-0.5.7/lib/carrierwave/uploader/callbacks.rb:18:in `each'
/Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/carrierwave-0.5.7/lib/carrierwave/uploader/callbacks.rb:18:in `block in with_callbacks'
/Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/carrierwave-0.5.7/lib/carrierwave/uploader/processing.rb:81:in `process!'
/Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/carrierwave-0.5.7/lib/carrierwave/uploader/processing.rb:81:in `each'
/Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/carrierwave-0.5.7/lib/carrierwave/uploader/processing.rb:83:in `block in process!'
/Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/carrierwave-0.5.7/lib/carrierwave/processing/rmagick.rb:132:in `resize_to_limit'
/Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/carrierwave-0.5.7/lib/carrierwave/processing/rmagick.rb:248:in `manipulate!'
/Users/hugovermaak/.rvm/gems/ruby-1.9.2-p290/gems/carrierwave-0.5.7/lib/carrierwave/processing/rmagick.rb:248:in `read'

-- C level backtrace information -------------------------------------------

[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html

Abort trap: 6

Any idea on what is wrong and how to fix it? I am running on OSX Lion with Ruby 1.9.2 and  Rails 3.1, I have ImageMagick installed and included rmagick in my gem file.

Thanks