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:

enter image description here

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:

enter image description here

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:

  1. gem 'rails_serve_static_assets' (it solve static assets problem) and
  2. gem 'rails_stdout_logging' (which previous 1 depends on).

Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -