Read more

Asset pipeline: Precompile non-standard manifests

Henning Koch
August 21, 2012Software engineer at makandra GmbH

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

Illustration web development

Do you need DevOps-experts?

Your development team has a full backlog? No time for infrastructure architecture? Our DevOps team is ready to support you!

  • We build reliable cloud solutions with Infrastructure as code
  • We are experts in security, Linux and databases
  • We support your dev team to perform
Read more Show archive.org snapshot

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.

Posted by Henning Koch to makandra dev (2012-08-21 13:18)