From 0152e9a82417e9f8a6aa3f4fc00910980e501688 Mon Sep 17 00:00:00 2001 From: Jakub Jirutka Date: Tue, 26 Dec 2017 19:25:11 +0100 Subject: [PATCH] community/ruby-rdiscount: add missing patch file --- community/ruby-rdiscount/fix-rakefile.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 community/ruby-rdiscount/fix-rakefile.patch diff --git a/community/ruby-rdiscount/fix-rakefile.patch b/community/ruby-rdiscount/fix-rakefile.patch new file mode 100644 index 00000000000..9a0effd84c7 --- /dev/null +++ b/community/ruby-rdiscount/fix-rakefile.patch @@ -0,0 +1,12 @@ +Ruby 2.5+ doesn't support option -rubygems anymore. + +--- a/Rakefile ++++ b/Rakefile +@@ -53,7 +53,6 @@ + require 'rake/testtask' + Rake::TestTask.new('test:unit') do |t| + t.test_files = FileList['test/*_test.rb'] +- t.ruby_opts += ['-rubygems'] if defined? Gem + end + task 'test:unit' => [:build] +