From 453497595c4aae9a223940d409b2c7935291ed25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=20Ondruch?= Date: Thu, 19 Dec 2013 12:26:37 +0100 Subject: [PATCH] Fix RubyGems test suite. --- ruby.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ruby.spec b/ruby.spec index 0089654..952626e 100644 --- a/ruby.spec +++ b/ruby.spec @@ -593,6 +593,10 @@ sed -i '/Process.constants.grep(\/\\ACLOCK_\/).each {|n|/ s/$/\n next if [: test/ruby/test_process.rb %endif +# Fix "Could not find 'minitest'" error. +# http://bugs.ruby-lang.org/issues/9259 +sed -i "/^ gem 'minitest', '~> 4.0'/ s/^/#/" lib/rubygems/test_case.rb + # Errno::EINVAL: Invalid argument - recvmsg(2) # Looks to be a problem of Linux 3.12+ and should be possible to remove as soon # as Koji builders run fixed kerenel.