Local asset precompile and production


I’m a bit confused here regarding precompile.

In some cases, I’d just like to deploy the locally precompiled assets to the production app. But it seems, that somehow, if the files in app/assets are not deployed as well, rails does not use precompiled ones.

Is that behaviour intended? Or, putting it in another way, do the precompiled assets have to match the files in app/assets?

I hope this wasn’t too confusing.


Michael Kastner