mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
temporary workaround for https://bugs.ruby-lang.org/issues/13632 (#1345)
* temporary workaround for https://bugs.ruby-lang.org/issues/13632 Purging interrupt queue if IOError was caught. * fixing only if mri * optimization to avoid redundant checks in empty queue * scoping fix to only affected versions * serving ruby version from mkmf * safe invoking for the workaround * switching to preprocessor vars * purging queue on runtime error * rubocop fix * covering workaround * improving names * styling * rubocop fixes * improved test reporting * wording * condition * improving comment * bugfix moved to separate gem: https://rubygems.org/gems/stopgap_13632 * using stopgap_13632 in gemfile to fix the builds * requiring stopgap for tests
This commit is contained in:
parent
31b02825d3
commit
91416134cb
7 changed files with 26 additions and 4 deletions
|
|
@ -1,6 +1,8 @@
|
|||
# Copyright (c) 2011 Evan Phoenix
|
||||
# Copyright (c) 2005 Zed A. Shaw
|
||||
|
||||
require 'stopgap_13632' if %w(2.2.7 2.3.4 2.4.1).include? RUBY_VERSION
|
||||
|
||||
begin
|
||||
require "bundler/setup"
|
||||
rescue LoadError
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue