diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-15 09:09:11 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-15 09:09:11 +0300 |
commit | a7d1525878904f2f8326baf1c8108f2204ac50cb (patch) | |
tree | da855edafb086adebe33c5eed462d753b58e2836 /lib/gitlab/runtime.rb | |
parent | b69f406585ff64b1c5140ebba775cc754fabb358 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/gitlab/runtime.rb')
-rw-r--r-- | lib/gitlab/runtime.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/gitlab/runtime.rb b/lib/gitlab/runtime.rb index 182c13980e6..3f6361c7276 100644 --- a/lib/gitlab/runtime.rb +++ b/lib/gitlab/runtime.rb @@ -12,6 +12,7 @@ module Gitlab :console, :geo_log_cursor, :puma, + :rails_runner, :rake, :sidekiq, :test_suite, @@ -64,6 +65,10 @@ module Gitlab !!defined?(::GeoLogCursorOptionParser) end + def rails_runner? + !!defined?(::Rails::Command::RunnerCommand) + end + def web_server? puma? || unicorn? end |