mirror of
https://github.com/ruby/ruby.git
synced 2025-08-24 21:44:30 +02:00
8 lines
132 B
Ruby
8 lines
132 B
Ruby
# frozen_string_literal: true
|
|
|
|
begin
|
|
require "rubygems/timeout"
|
|
rescue LoadError
|
|
require "timeout"
|
|
Gem::Timeout = Timeout
|
|
end
|