From 1a872367143ee9bfc71bda02db3e4f0baeb45863 Mon Sep 17 00:00:00 2001 From: Kenji Okimoto Date: Tue, 15 May 2018 12:22:40 +0900 Subject: [PATCH] Set RAILS_SERVE_STATIC_FILES environment variable Signed-off-by: Kenji Okimoto --- bin/fluentd-ui | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/fluentd-ui b/bin/fluentd-ui index 8f90c09..36233c5 100755 --- a/bin/fluentd-ui +++ b/bin/fluentd-ui @@ -7,6 +7,7 @@ dir = File.expand_path("../../", __FILE__) ENV["BUNDLE_GEMFILE"] ||= File.join(dir, "Gemfile.production") ENV["SECRET_KEY_BASE"] ||= SecureRandom.hex(64) ENV["RAILS_ENV"] ||= "production" +ENV["RAILS_SERVE_STATIC_FILES"] = "yes" require File.join(dir, "lib/fluentd-ui/command.rb")