lib/capistrano/templates/puma.rb.erb in capistrano3-puma-0.2.0 vs lib/capistrano/templates/puma.rb.erb in capistrano3-puma-0.2.2

- old
+ new

@@ -8,13 +8,15 @@ stdout_redirect '<%=fetch(:puma_access_log)%>', '<%=fetch(:puma_error_log)%>', true threads <%=fetch(:puma_threads).join(',')%> bind "<%=fetch(:puma_bind)%>" workers <%= puma_workers %> +<% if fetch(:puma_preload_app) %> preload_app! +<% end %> on_restart do - puts 'On restart...Refresh ENV["BUNDLE_GEMFILE"]' + puts 'Refreshing Gemfile' ENV["BUNDLE_GEMFILE"] = "<%= fetch(:bundle_gemfile, "#{current_path}/Gemfile") %>" end <% if fetch(:puma_init_active_record) %> on_worker_boot do