Skip to content

Commit

Permalink
Add a missing Puma 6 require
Browse files Browse the repository at this point in the history
Load puma/detect.rb to allow puma/log_writer.rb to work.

Fixes rubygems#361 - thank you, ktreis!
  • Loading branch information
olleolleolle committed Sep 14, 2023
1 parent 6800bdd commit 9b46981
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/gemstash/logging.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
require "logger"

begin
require "puma/detect"
require "puma/log_writer" # Puma 6
rescue LoadError
require "puma/events"
Expand Down

0 comments on commit 9b46981

Please sign in to comment.