-
Notifications
You must be signed in to change notification settings - Fork 93
Rails: assets:precompile #12
Comments
Unable to override assets_precompile. Thoughts? Including the following custom json in layer settings
This is not overriding the default "true". In turn, I receive the following error.
|
Which framework do you use? Rails? |
Yes, Rails framework. I did not specify this in any attributes though. Did I miss something? Should "rails" replace "framework" in the custom json? |
No, your JSON is correct, I'll try to debug this issue today and let you know what's going on... |
Ok, I tried to reproduce your error, but with no luck. I also added tests to cover up this case - no luck either. Can you paste me a full Stack JSON you are using (with sensitive data redacted)? |
Very basic install, essentially testing. Using Rails API, if that matters. Obviously API version does not include asset precompilation which is why I'm trying to skip the command. |
Ok, I nailed the issue - something changed in Thanks for catching this! |
Ok, I don't know how I didn't notice it... but we were missing the So, your config should state: {
"deploy": {
"appname": {
"framework": {
"assets_precompile": false
}
},
"applications": ["appname"]
}
} and everything would work as expected. However, I need to fix the JSON Generator tool. |
No description provided.
The text was updated successfully, but these errors were encountered: