title: Image corruption on upload to s3, production only.  (carrierwave, engineyard)
body: <p>I am using carrierwave to upload images to amazon s3.  This works great on development, but not when I push it to my server (engineyard cloud trial).  </p>
  
  <p>The process works fine, no errors are thrown, and a link is given back.  However, the actual image is corrupted, somehow. </p>
  
  <p>Here's one, for example: <a href="https://s3.amazonaws.com/ZenBucket/uploads/goal/photo/30/guinness-toucan.jpg" rel="nofollow">https://s3.amazonaws.com/ZenBucket/uploads/goal/photo/30/guinness-toucan.jpg</a></p>
  
  <p>Can anyone tell me how it's being corrupted, or what could be doing it?</p>
  
  <p>Edit: The first image upload attempt after deploying always seems to fail 500, but the error doesn't show in the log.  Not sure if that's relevent.</p>
  
  <p>Edit2: Also seems to be occurring with dragonfly gem instead of carrierwave.</p>
  
  <p>Thanks</p>