Hi, 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 https://github.com/rails/rails/issues/1207#issuecomment-1829671 but may be it is not considered because the issue is closed) -- 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 rubyonrails-core@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.
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: https://github.com/rails/rails/issues/1822 and this commit: https://github.com/rails/rails/commit/eff7fddeb26eaa346827bdb0c12f3c4514a816d3 On Thu, Aug 18, 2011 at 6:57 PM, koeckc <slayercon666@gmail.com> wrote:> Hi, > 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 > https://github.com/rails/rails/issues/1207#issuecomment-1829671 but > may be it is not considered because the issue is closed) > > -- > 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 rubyonrails-core@googlegroups.com. > To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en. > >-- 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 rubyonrails-core@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.
This did to the trick ... thank you very very much... On Aug 18, 11:48 pm, Richard Hulse <richard.l.hu...@gmail.com> wrote:> 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: > > https://github.com/rails/rails/issues/1822 > > and this commit: > > https://github.com/rails/rails/commit/eff7fddeb26eaa346827bdb0c12f3c4... > > > > > > > > On Thu, Aug 18, 2011 at 6:57 PM, koeckc <slayercon...@gmail.com> wrote: > > Hi, > > 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 > >https://github.com/rails/rails/issues/1207#issuecomment-1829671but > > may be it is not considered because the issue is closed) > > > -- > > 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 rubyonrails-core@googlegroups.com. > > To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com. > > For more options, visit this group athttp://groups.google.com/group/rubyonrails-core?hl=en.-- 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 rubyonrails-core@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.