From 414d29ae4e7b898adcc155b99338c604bf35ec86 Mon Sep 17 00:00:00 2001 From: Alexandr Borisov Date: Thu, 4 Jan 2024 09:18:38 +0400 Subject: [PATCH 1/2] Mention Sprockets config in deploy template --- lib/kamal/cli/templates/deploy.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/kamal/cli/templates/deploy.yml b/lib/kamal/cli/templates/deploy.yml index 20bbe71a..a968416c 100644 --- a/lib/kamal/cli/templates/deploy.yml +++ b/lib/kamal/cli/templates/deploy.yml @@ -77,6 +77,10 @@ registry: # Bridge fingerprinted assets, like JS and CSS, between versions to avoid # hitting 404 on in-flight requests. Combines all files from new and old # version inside the asset_path. +# +# If your app is using Sprockets gem, ensure it has `config.assets.manifest` +# set. See https://github.com/basecamp/kamal/issues/626 for details +# # asset_path: /rails/public/assets # Configure rolling deploys by setting a wait time between batches of restarts. From f286fdc3743e86ec6bf1c5ceb1ad01b4069395b8 Mon Sep 17 00:00:00 2001 From: Aleksandr Borisov Date: Mon, 4 Mar 2024 16:26:11 +0300 Subject: [PATCH 2/2] Update lib/kamal/cli/templates/deploy.yml Co-authored-by: Donal McBreen --- lib/kamal/cli/templates/deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/kamal/cli/templates/deploy.yml b/lib/kamal/cli/templates/deploy.yml index a968416c..af018554 100644 --- a/lib/kamal/cli/templates/deploy.yml +++ b/lib/kamal/cli/templates/deploy.yml @@ -78,8 +78,8 @@ registry: # hitting 404 on in-flight requests. Combines all files from new and old # version inside the asset_path. # -# If your app is using Sprockets gem, ensure it has `config.assets.manifest` -# set. See https://github.com/basecamp/kamal/issues/626 for details +# If your app is using the Sprockets gem, ensure it sets `config.assets.manifest`. +# See https://github.com/basecamp/kamal/issues/626 for details # # asset_path: /rails/public/assets