fluentd-ui/bin/fluentd-ui
2014-06-03 16:44:35 +09:00

14 lines
333 B
Ruby
Executable File

#!/usr/bin/env ruby
require "securerandom"
require "thor"
dir = File.expand_path("../../", __FILE__)
ENV["BUNDLE_GEMFILE"] ||= File.join(dir, "Gemfile.production")
ENV["SECRET_KEY_BASE"] ||= SecureRandom.hex(64)
ENV["RAILS_ENV"] ||= "production"
require File.join(dir, "lib/fluentd-ui/command.rb")
FluentdUI::Command.start(ARGV)