Description: Fix import in gemfile for autopkgtests and build env
Author: Simon Quigley <tsimonq2@debian.org>
Origin: vendor
Last-Update: 2026-02-10
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/connection_pool.gemspec
+++ b/connection_pool.gemspec
@@ -1,4 +1,9 @@
-require "./lib/connection_pool/version"
+begin
+  require_relative "lib/connection_pool/version"
+rescue LoadError => e
+  raise e unless e.message.include?("cannot load such file")
+  require "connection_pool/version"
+end
 
 Gem::Specification.new do |s|
   s.name = "connection_pool"
