mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
Ensure Puma.stats_object available using handler
When requiring only the handler puma.rb is not loaded. This defines a method that is used in the launcher https://github.com/puma/puma/pull/1532#discussion_r176171578.
This commit is contained in:
parent
429d17bca1
commit
2dfad760fb
1 changed files with 1 additions and 0 deletions
|
@ -9,6 +9,7 @@ module Rack
|
||||||
}
|
}
|
||||||
|
|
||||||
def self.config(app, options = {})
|
def self.config(app, options = {})
|
||||||
|
require 'puma'
|
||||||
require 'puma/configuration'
|
require 'puma/configuration'
|
||||||
require 'puma/events'
|
require 'puma/events'
|
||||||
require 'puma/launcher'
|
require 'puma/launcher'
|
||||||
|
|
Loading…
Reference in a new issue