Anyone get Rails 3.1 RC5 running on Heroku, Cedar stack? Everything seems to work so far, except that asset images (such as logo, icons, main_bg, etc.) are not being displayed.
I'm not sure if it is related to this issue开发者_JAVA百科.
Would like to hear from anyone who was able to fix this problem.
Tweaking this setting should no longer be necessary in Rails 3.1, but if you're upgrading from earlier versions of 3.1 RC, either comment out the x_sendfile_header
setting, or set it to nil
in your production.rb
file:
config.action_dispatch.x_sendfile_header = nil
This is the setting recommended in the Heroku docs.
精彩评论