diff --git a/bin/fluentd-ui b/bin/fluentd-ui index 89d7a58..465c6ea 100755 --- a/bin/fluentd-ui +++ b/bin/fluentd-ui @@ -6,5 +6,6 @@ dir = File.expand_path("../../", __FILE__) ENV["BUNDLE_GEMFILE"] ||= File.join(dir, "Gemfile.production") ENV["SECRET_KEY_BASE"] ||= SecureRandom.hex(64) ENV["RAILS_ENV"] ||= "production" +system(*%W(bundle install)) system(*%W(bundle exec rake db:create db:migrate db:seed)) system(*%W(bundle exec rackup -E production #{dir}/config.ru))