Rails won't load asset pipeline

前端 未结 6 1841
时光说笑
时光说笑 2021-01-18 05:21

I ran rake assets:precompile by mistake on development, and Rails stopped loading the assets on development. I only get application.js and ap

6条回答
  •  花落未央
    2021-01-18 05:44

    Try deleting the compiled assets from your local development environment:

    rm -rf public/assets

    Edit:

    In addition, make sure to set config.assets.compress = false and config.assets.debug = true in your development.rb.

提交回复
热议问题