aboutsummaryrefslogtreecommitdiffstats
path: root/community/ruby-pygments/fix-rakefile.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/ruby-pygments/fix-rakefile.patch')
-rw-r--r--community/ruby-pygments/fix-rakefile.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/community/ruby-pygments/fix-rakefile.patch b/community/ruby-pygments/fix-rakefile.patch
new file mode 100644
index 0000000000..ca28885516
--- /dev/null
+++ b/community/ruby-pygments/fix-rakefile.patch
@@ -0,0 +1,12 @@
+Ruby 2.5+ doesn't support option -rubygems anymore.
+
+--- a/Rakefile
++++ b/Rakefile
+@@ -18,7 +18,6 @@
+ require 'rake/testtask'
+ Rake::TestTask.new 'test' do |t|
+ t.test_files = FileList['test/test_*.rb']
+- t.ruby_opts = ['-rubygems']
+ end
+
+ # ==========================================================