There is a project for which you made a mobile version. The mobile version does not need a full set of external styles and js libraries, but there are a couple of common ones. Mobile assets in the resulting files of the common version are also not needed. I tried using the stub option to exclude from the general version, but then general libraries are excluded from it. As usual in such situations come?
/assets /javascripts application.js(main version) main_version_js_files /mobile_version_folder application.js some_js_files /stylesheets application.css main_version_css_files /mobile_version_folder application.css some_css_files Common external libraries are in vendors / assets