From 5517dbf1904795f710675847cd2a49f64009286c Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Wed, 29 Aug 2018 09:10:40 +0100 Subject: [PATCH 1/1] Fix ordering of asset rebuild --- cookbooks/web/resources/rails_port.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/cookbooks/web/resources/rails_port.rb b/cookbooks/web/resources/rails_port.rb index 17dfe641d..067c1334c 100644 --- a/cookbooks/web/resources/rails_port.rb +++ b/cookbooks/web/resources/rails_port.rb @@ -126,6 +126,7 @@ action :create do group new_resource.group notifies :run, "execute[#{rails_directory}/Gemfile]" notifies :run, "execute[#{rails_directory}/app/assets/javascripts/i18n]" + notifies :run, "execute[#{rails_directory}/public/assets]" notifies :delete, "file[#{rails_directory}/public/export/embed.html]" notifies :restart, "passenger_application[#{rails_directory}]" end -- 2.45.1