-
-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uploaded Image Corrupted with JRuby 1.7.10 #37
Comments
With which version(s) of JRuby are you seeing this problem? |
It's in the title. I didn't try any new version since then. |
Oh, yes it is. I missed that. Was hoping to that a newer version of JRuby since the issue was filed would have fixed the problem, but don't know. |
@sodabrew I am not using JRuby for a long time. Are you still seeing this in the latest JRuby? I had a workaround for this issue at that time. |
It would be good to make a spec for this to confirm correct behaviour - PR welcome. |
For those using JRuby. Image upload may not work with this gem.
Try the following code on JRuby:
f.size and obj.size are not the same. It causes content-length and stream size not the same, and image file is corrupted.
The text was updated successfully, but these errors were encountered: