ruby on rails - Most of my assets suddenly return 404 after a push to heroku -
i have deployed app (rails 3.2.11) million times, haven't messed settings, i'm greeted this:
why did happen out of blue? conents of application.rb include config.assets.enabled = true
- never had issues.
in fact running locally on port 3000 seems not have issues whatsoever.
after deploying heroku morning, seems loads nothing that's inside /assets/
interestingly, after copying files on try , make new app, git commit
results in stuff you'd expect long list of these think might related:
edit: interestingly enough of assets have loaded, logo , background, rest can see return 404.
i had problem today rails 4 on heroku. article provided @jeff little bit old but, the gem repository has readme. summarizing, need add 2 gems gemfile:
gem 'rails_serve_static_assets'
(it solve static assets problem) andgem 'rails_stdout_logging'
(which previous 1 depends on).
Comments
Post a Comment