From e4f88305043975f95c2df0ef40a57ac776ec807b Mon Sep 17 00:00:00 2001 From: briri Date: Mon, 1 May 2023 10:33:35 -0700 Subject: [PATCH 1/2] added .gitkeep file to assets/builds to address issues in production deployments. see https://github.com/rails/cssbundling-rails#why-do-i-get-applicationcss-not-in-asset-pipeline-in-production --- .gitignore | 1 + app/assets/builds/.gitkeep | 0 2 files changed, 1 insertion(+) create mode 100644 app/assets/builds/.gitkeep diff --git a/.gitignore b/.gitignore index e30a4e69d7..e8755d3d78 100644 --- a/.gitignore +++ b/.gitignore @@ -114,6 +114,7 @@ yarn-debug.log* .yarn-integrity /app/assets/builds/* !/app/assets/builds/.keep +!/app/assets/builds/.gitkeep # Ignore briley AWS cloud9 script to start the application cloud9-start.sh diff --git a/app/assets/builds/.gitkeep b/app/assets/builds/.gitkeep new file mode 100644 index 0000000000..e69de29bb2 From 927e885d3f90d1de1ada9c2d371ab32fb1898145 Mon Sep 17 00:00:00 2001 From: briri Date: Mon, 1 May 2023 10:43:08 -0700 Subject: [PATCH 2/2] added note to CHANGELOG --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index b28bcbab00..6931cab0d3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## v4.1.1 + +- Added a .gitkeep file to the app/assets/builds directory to address potential issues when building the application.css file during production deploys #3314 + ## v4.1.0 **Note this upgrade is a migration from Ruby v2.7.6 to v3.0.5.** Note that this could have an impact on any customizations you may have made to your fork of this project. Please see https://www.fastruby.io/blog/ruby/upgrades/upgrade-ruby-from-2.7-to-3.0.html for further information on what to check. In particular, please note the changes to the way [Ruby 3 handles keyword arguments](https://www.ruby-lang.org/en/news/2019/12/12/separation-of-positional-and-keyword-arguments-in-ruby-3-0/)