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.
This commit is contained in:
Christopher Baines 2018-09-29 11:15:36 +01:00
parent 357450dca0
commit 0b060e3486
No known key found for this signature in database
GPG Key ID: 5E28A33B0B84F577
1 changed files with 9 additions and 6 deletions

View File

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