rails/sprockets-rails

Need some clarification for overriding asset:environment

masterofkfit opened this issue · 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.