样式表由 rails 应用程序按需构建,因此理论上您无需手动执行任何操作。
运行 bin/rake assets:precompile 将会预编译它们,如果您想为部署到多个主机创建优化的 docker 镜像,这会很有用。
bin/rake assets:precompile