mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
support older versions of bundler that do not have clean_env (#1314)
fixes https://github.com/puma/puma/issues/1312
This commit is contained in:
parent
964780b4e7
commit
fec20f0f05
1 changed files with 1 additions and 1 deletions
|
@ -163,7 +163,7 @@ module Puma
|
|||
|
||||
# Run the server. This blocks until the server is stopped
|
||||
def run
|
||||
previous_env = (defined?(Bundler) ? Bundler.clean_env : ENV.to_h)
|
||||
previous_env = (defined?(Bundler) ? Bundler::ORIGINAL_ENV : ENV.to_h)
|
||||
|
||||
@config.clamp
|
||||
|
||||
|
|
Loading…
Reference in a new issue