Rails 3.1.3 on Heroku: (No route matches [GET] “/assets/rails.png”)

后端 未结 3 1448
南方客
南方客 2020-12-19 16:27

I\'ve installed a few basic apps on Heroku without problem, and this one (Rails 3.1.3) seemed fine in that it showed Rails welcome page

public/index.html.         


        
3条回答
  •  执念已碎
    2020-12-19 17:09

    It looks like you may not have precompiled your assets before you pushed to Heroku, try:

    rake assets:precompile
    git add .
    etc etc
    

    I think that should help. For more information, see here: http://devcenter.heroku.com/articles/rails31_heroku_cedar

提交回复
热议问题