Skip to content

Commit

Permalink
Fix LoadError in CentOS 8
Browse files Browse the repository at this point in the history
'require_relative' breaks gem install on CentOS 8 and should not be necessary with recent version of rubygems
  • Loading branch information
joergschray committed Sep 24, 2020
1 parent f4c59a0 commit ed855d9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions History.md
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions lib/puma.rb
Expand Up @@ -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'
Expand Down

0 comments on commit ed855d9

Please sign in to comment.