Asset pipeline: Precompile non-standard manifests

Updated . Posted . Visible to the public.

By default, only application.js, application.css and all non-JS/CSS files are precompiled into public/assets.

If you have asset manifests in non-standard locations, declare them in your config/application.rb:

config.assets.precompile += ['application/all.css', 'result/all.css', 'application/all.js', 'result/all.js']

This way you can also precompile files that do not have any manifest.

Henning Koch
Last edit
Besprechungs-PC
Keywords
ckeditor, config.js, custom
License
Source code in this card is licensed under the MIT License.
Posted by Henning Koch to makandra dev (2012-08-21 11:18)