diff --git a/config.ru b/config.ru index 065ce59932f2ff8c832589bd20e19ae4defc4394..de0400f4f67b2a39804f69188f184cf4bbd81adb 100644 --- a/config.ru +++ b/config.ru @@ -17,6 +17,11 @@ end require ::File.expand_path('../config/environment', __FILE__) +warmup do |app| + client = Rack::MockRequest.new(app) + client.get('/') +end + map ENV['RAILS_RELATIVE_URL_ROOT'] || "/" do run Gitlab::Application end