guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/06: gnu: ruby-shindo: Remove -rubygems flags.


From: Christopher Baines
Subject: 02/06: gnu: ruby-shindo: Remove -rubygems flags.
Date: Fri, 5 Oct 2018 16:28:13 -0400 (EDT)

cbaines pushed a commit to branch master
in repository guix.

commit 0b060e3486afdefdf5a5f474518b2a6bfae405d9
Author: Christopher Baines <address@hidden>
Date:   Sat Sep 29 11:15:36 2018 +0100

    gnu: ruby-shindo: Remove -rubygems flags.
    
    These have been removed in Ruby 2.5.
    
    * gnu/packages/ruby.scm (ruby-shindo)[arguments]: Change fix-tests phase to
    also remove the -rubygems flags.
---
 gnu/packages/ruby.scm | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 3673bf2..b216f3f 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -1211,12 +1211,15 @@ standard output stream.")
        #:phases
        (modify-phases %standard-phases
          (add-after 'unpack 'fix-tests
-          (lambda _
-            (substitute* "Rakefile"
-              (("system \"shindo") "system \"./bin/shindo")
-              ;; This test doesn't work, so we disable it.
-              (("fail \"The build_error test should fail") "#"))
-            #t)))))
+           (lambda _
+             (substitute* "tests/tests_helper.rb"
+               (("-rubygems") ""))
+             (substitute* "Rakefile"
+               (("system \"shindo") "system \"./bin/shindo")
+               ;; This test doesn't work, so we disable it.
+               (("fail \"The build_error test should fail") "#")
+               ((" -rubygems") ""))
+             #t)))))
     (propagated-inputs
      `(("ruby-formatador" ,ruby-formatador)))
     (synopsis "Simple depth first Ruby testing")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]