summaryrefslogtreecommitdiff
path: root/lib/rubygems/vendored_timeout.rb
blob: 45541928e672d4da54e755e59dca3a9fc5e8c483 (plain)
1
2
3
4
5
# frozen_string_literal: true

# Ruby 3.3 and RubyGems 3.5 is already load Gem::Timeout from lib/rubygems/timeout.rb
# We should avoid to load it again
require_relative "vendor/timeout/lib/timeout" unless defined?(Gem::Timeout)