Ruby on Rails Rake assets:precompile error

后端 未结 7 1441
-上瘾入骨i
-上瘾入骨i 2020-12-06 00:22

I\'m new in Rails development and this is my first deployment to Heroku. When I execute my application (after the deployment) there is an error:

2011-09-18T2         


        
7条回答
  •  醉梦人生
    2020-12-06 01:08

    Instead of config.assets.compile = true use config.serve_static_assets = true

    The first option is incorrect, because it tells your server to go back to serving the app/assets folder.

提交回复
热议问题