Rails javascript asset missing after precompile

后端 未结 2 1715
北荒
北荒 2020-12-06 12:08

the Rails Guides says:

If there are missing precompiled files in production you will get an Sprockets::Helpers::RailsHelper::AssetPaths::AssetNotPre

2条回答
  •  庸人自扰
    2020-12-06 12:31

    Try just:

    rake assets:precompile
    

    I've had similar issues and that has worked. You can also delete the contents of the /public/assets directory and try running it again.

提交回复
热议问题