Set RAILS_SERVE_STATIC_FILES environment variable

Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
This commit is contained in:
Kenji Okimoto 2018-05-15 12:22:40 +09:00
parent 102136f6cf
commit 1a87236714

View File

@ -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")