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

New CSSBundling compilation fails in production #3313

Open
briri opened this issue May 1, 2023 · 0 comments
Open

New CSSBundling compilation fails in production #3313

briri opened this issue May 1, 2023 · 0 comments
Assignees
Labels
bug effort-small less than 1/2 day of dev time infrastructure

Comments

@briri
Copy link
Contributor

briri commented May 1, 2023

Depending on how the application is deployed to production, the CSSBundling compilation step can fail silently. This results in the system returning a 500 error due to the public/assets/application-[fingerprint].css not existing.

According to the CSSBundling docs you need to add a .gitkeep file to the app/assets/builds/ directory so that it exists when deploying the application.

There is currently an exception in the .gitignore for a app/assets/builds/.keep but the file does not exist in the directory

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug effort-small less than 1/2 day of dev time infrastructure
Projects
None yet
Development

No branches or pull requests

1 participant