Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need some clarification for overriding asset:environment #450

Open
masterofkfit opened this issue Nov 6, 2019 · 0 comments
Open

Need some clarification for overriding asset:environment #450

masterofkfit opened this issue Nov 6, 2019 · 0 comments

Comments

@masterofkfit
Copy link

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 masterofkfit changed the title Need some clarification for this text Need some clarification for overriding asset:environment Nov 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant