-
Notifications
You must be signed in to change notification settings - Fork 754
can't modify immutable index when precompiling in 1.0.0 #31
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
Comments
Same issue here. |
Exactly the same issue. @JakubMal should we roll back these changes? config.after_initialize won't work due to sprockets architecture. 'initialiser' block receives Sprockets::Environment instance as app.assets, that allows to expire_index! |
…tialize hook for altering Sprockets paths.
Same issue here. Reverting 8b110af fixes it. |
Yeah, I'm not sure what was the reason for this change. Anyway, @johnthethird, whom I can't ref here made a nice fix, and I asked him to PR it separately, because I don't know how much we need to finish server-side rendering. It looks like his busy though, and so if he won't reply in a few days I'll EDIT: So I think Tuesday would be a nice day to review and finish this. |
I have tested this using current master and it works for all known cases, let's reopen if we find a case for which this won't work. |
During
rake assets:precompile
, an error appears as shown in the stack trace below.It probably is related to changes in initializer between
0.9.0
and1.0.0
Stack trace is from
3.2
, but it is related to4.0
too.The text was updated successfully, but these errors were encountered: