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:
https://github.com/rails/rails/issues/1822
and this commit:
https://github.com/rails/rails/commit/eff7fddeb26eaa346827bdb0c12f3c4514a816d3
> --
> You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group.
> To post to this group, send email to rubyonra...@googlegroups.com.
> To unsubscribe from this group, send email to rubyonrails-co...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.
>
>