diff options
author | Christopher Baines <mail@cbaines.net> | 2018-09-29 11:15:36 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2018-10-05 21:25:41 +0100 |
commit | 0b060e3486afdefdf5a5f474518b2a6bfae405d9 (patch) | |
tree | 23fa7c3dd66271abb075101f12f8667c697e8420 /gnu | |
parent | 357450dca0933a36a59a23c0e2be5d646f123706 (diff) | |
download | guix-0b060e3486afdefdf5a5f474518b2a6bfae405d9.tar guix-0b060e3486afdefdf5a5f474518b2a6bfae405d9.tar.gz |
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.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/ruby.scm | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 3673bf2346..b216f3f48b 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") |