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

Run image compress even if Rails.application.assets is nil #120

Closed
wants to merge 2 commits into from
Closed

Run image compress even if Rails.application.assets is nil #120

wants to merge 2 commits into from

Conversation

iggant
Copy link
Contributor

@iggant iggant commented Jan 15, 2016

Since rails/sprockets-rails@d7c7ee1#diff-b295f4f07d2e863f15e53eb2047cfd1f we can't rely on app.assets for register_preprocessor

When compile=false and we precompile assets
register_preprocessor?(app) method will always return false

@iggant iggant closed this Jan 15, 2016
toy added a commit that referenced this pull request Feb 21, 2016
…ass processor to register_processor, resolves #120, resolves #121, resolves #126
toy added a commit that referenced this pull request Feb 21, 2016
…ass processor to register_processor, resolves #120, resolves #121, resolves #126
toy added a commit that referenced this pull request Feb 21, 2016
…ass processor to register_processor, resolves #120, resolves #121, resolves #126
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

Successfully merging this pull request may close these issues.

None yet

1 participant