From 93bb1d0174e97f8c1d28dc7118626ed0b27b8f16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Schray?= Date: Thu, 24 Sep 2020 19:07:54 +0200 Subject: [PATCH] Fix LoadError in CentOS 8 (#2381) 'require_relative' breaks gem install on CentOS 8 and should not be necessary with recent version of rubygems --- History.md | 1 + lib/puma.rb | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/History.md b/History.md index 1fccfb70c7..3dd886937a 100644 --- a/History.md +++ b/History.md @@ -6,6 +6,7 @@ * Bugfixes * Prevent connections from entering Reactor after shutdown begins (#2377) * Better error handling during force shutdown (#2271) + * Fix LoadError in CentOS 8 (#2381) * Refactor * Change Events#ssl_error signature from (error, peeraddr, peercert) to (error, ssl_socket) (#2375) diff --git a/lib/puma.rb b/lib/puma.rb index ce143e9194..1e098bffc0 100644 --- a/lib/puma.rb +++ b/lib/puma.rb @@ -10,8 +10,8 @@ require 'thread' -require_relative 'puma/puma_http11' -require_relative 'puma/detect' +require 'puma/puma_http11' +require 'puma/detect' module Puma autoload :Const, 'puma/const'