Rebuild assets when the configuration changes
authorTom Hughes <tom@compton.nu>
Wed, 17 Jun 2015 19:42:38 +0000 (20:42 +0100)
committerTom Hughes <tom@compton.nu>
Wed, 17 Jun 2015 19:42:51 +0000 (20:42 +0100)
cookbooks/web/definitions/rails_port.rb

index dcee9cb..31467a6 100644 (file)
@@ -231,7 +231,7 @@ define :rails_port, :action => [:create, :enable] do
     group rails_group
     mode 0664
     content application_yml
-    notifies :run, "execute[#{rails_directory}]"
+    notifies :run, "execute[#{rails_directory}/public/assets]"
   end
 
   if params[:piwik_configuration]