Image content response length

All my images are served with content length 0 (when im in production
mode) and therefore are not displayed
Im using:

sprockets (2.0.0.beta.13)
rails (3.1.0.rc6)

on Mac OS X 10.6.7 with rvm .... (two different macs ...)

I have no idea how to solve this issue .. precompiling did not help
eighter ..

Rails 3.1 is simply not usable for me until i get rid of this issue
any Tips ?

(I have posted this issue as a comment on git but
may be it is not considered because the issue is closed)

Have you upgraded the app and pasted in this line to your config?:

config.action_dispatch.x_sendfile_header = "X-Sendfile"

If so, remove it.

Your sever probably does not support this feature.

See this bug for more info:

and this commit:

This did to the trick ... thank you very very much...