Subject: [PATCH 42/88] gnu: ruby-bindex: Fix minitest.

From: Nicolas Graves <[email-masked]>
Date: Wed, 18 Jun 2025 16:27:29 +0200

* gnu/packages/ruby-xyz.scm (ruby-bindex)[arguments]{phases}: Add
phase 'patch-minitest.
---
 gnu/packages/ruby-xyz.scm | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/ruby-xyz.scm b/gnu/packages/ruby-xyz.scm
index cae53c8fb5..d343261ec4 100644
--- a/gnu/packages/ruby-xyz.scm
+++ b/gnu/packages/ruby-xyz.scm
@@ -9116,7 +9116,12 @@ (define-public ruby-bindex
                (add-after 'unpack 'avoid-bundler
                  (lambda _
                    (substitute* "Rakefile"
-                     (("^Bundler::.*") "")))))))
+                     (("^Bundler::.*") ""))))
+               (add-after 'unpack 'patch-minitest
+                 (lambda _
+                   (substitute* "test/test_helper.rb"
+                     (("MiniTest")
+                      "Minitest")))))))
     (native-inputs (list bundler ruby-rake-compiler))
     (synopsis "Bindings for Ruby exceptions")
     (description
-- 
2.49.0