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
Fixes #7527 - don't require less in production unless from rake #4673
Conversation
Cool, I see tests failing. |
@jlsherrill I've updated the condition on determining if to add the paths to the config.less based on the presence of the |
also, the tests should be green after jenkins finishes |
tested the build on a nightly and worked great. ACK from me, any thoughts @ehelms ? |
It feels ugly, and prone to potentially break on us again. I'm OK with this fix, but from those that have investigated it heavily, is there anything we can do to make a change in https://github.com/cowboyd/less.rb or work with them to avoid having to do this in the future? |
Personally, I would like to avoid this kind of deps in production, even when the particular execmem error wasn't there: the assets (any any other type of) compilation should be always extracted outside of production server runtime |
@iNecas I agree, I think by default Rails compiles assets in the production environment due to the settings around compilation :/ I wonder if we could introduce another environment? (ACK for this PR) |
----- Original Message -----
By "production runtime" environment, I mean the httpd/foreman-proxy
|
Fixes #7527 - don't require less in production unless from rake
No description provided.