sprockets-rails icon indicating copy to clipboard operation
sprockets-rails copied to clipboard

Need some clarification for overriding asset:environment

Open masterofkfit opened this issue 6 years ago • 0 comments

Each asset task will invoke assets:environment first. By default this loads the Rails environment. You can override this task to add or remove dependencies for your specific compilation environment.

Does this mean there's a way to disable loading the full rails environment?

I need to precompile assets in a docker build step but want to avoid booting up the full rails app.

masterofkfit avatar Nov 06 '19 10:11 masterofkfit