KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
everyone! I was following Railscasts episode #253 , using CarrierWave to do image upload. Everything was fine to display the original image, even though the image looked quite big in the browser. I strictly followed Ryan Bates' instructions. But, when I tried to resize the image using rmagick and press upload button, I always got server shutdown . I am using rmagick 2.13.1 And I followed this blog's instruction to install homebrew, and imagemagick on my mac. The error message is shown below. Rendered /Users/binyannie/.rvm/gems/ruby-1.9.2-p290/gems/actionpack- 3.0.9/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.9ms) /Users/binyannie/.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-darwin10.8.0] -- control frame ---------- c:0097 p:---- s:0482 b:0482 l:000481 d:000481 CFUNC :read c:0096 p:0054 s:0478 b:0478 l:000477 d:000477 METHOD /Users/binyannie/.rvm/gems/ruby-1.9.2-p290/gems/carrierwave-0.5.7/lib/carrierwave/processing/rmagick.rb:248 c:0095 p:0011 s:0469 b:0469 l:000468 d:000468 METHOD /Users/binyannie/.rvm/gems/ruby-1.9.2-p290/gems/carrierwave-0.5.7/lib/carrierwave/processing/rmagick.rb:132 c:0094 p:0044 s:0464 b:0464 l:000453 d:000463 BLOCK /Users/binyannie/.rvm/gems/ruby-1.9.2-p290/gems/carrierwave-0.5.7/lib/carrierwave/uploader/processing.rb:83 c:0093 p:---- s:0459 b:0459 l:000458 d:000458 FINISH c:0092 p:---- s:0457
Tags (comma-separated)
Save Edits
Cancel