Hi,
I got an error while uploading a file.
/!\ FAILSAFE /!\ 07/26/2010 02:37
Status: 500 Internal Server Error
bad content body
/usr/lib/ruby/gems/1.8/gems/rack-1.1.0/lib/rack/utils.rb:467:in `parse_multipart'
/usr/lib/ruby/gems/1.8/gems/rack-1.1.0/lib/rack/request.rb:268:in `parse_multipart'
/usr/lib/ruby/gems/1.8/gems/rack-1.1.0/lib/rack/request.rb:146:in `POST'
My environment is:
About your application's environment
Ruby version 1.8.7 (x86_64-linux)
RubyGems version 1.3.6
Rack version 1.1
Rails version 2.3.8
Active Record version 2.3.8
Action Pack version 2.3.8
Active Resource version 2.3.8
Action Mailer version 2.3.8
Active Support version 2.3.8
Edge Rails revision 55343406d77c4a7a3374cad328b89350ab084152
Strangely, it's ok if I set RAILS_ENV='development' in environment.rb. So this error occurs only in 'production' mode.
Any idea on how to fix it?
Sam