0

Normally I'd use carrierwave, but they do not officially support jruby, and I've been running in to bugs, possibly related. (https://github.com/jnicklas/carrierwave/issues/620, Image corruption on upload to s3, production only. (carrierwave, engineyard))

Have others had success here?

I'm considering trying out paperclip, but it looks like that may not be perfect either-- https://github.com/thoughtbot/paperclip/issues/100

Community
  • 1
  • 1
Peter Ehrlich
  • 6,969
  • 4
  • 49
  • 65
  • Apparently the bug that affected your uploading (which also affected dragonfly) has been fixed in Jruby. Carrierwave works with jruby. – Ivar Oct 22 '13 at 20:18

2 Answers2

2

Try dragonfly it's a really great library to manage you file attachment.

shingara
  • 46,608
  • 11
  • 99
  • 105
0

check out this guide, it's cake http://webtempest.com/how-to-allow-image-uploads-in-rails-on-heroku/

It uses paperclip and amazon web s3 gems

Jason Levens
  • 194
  • 1
  • 10