Skip to content

Commit 875e372

Browse files
committed
Update rake test:unit to run on ruby2.7
`ubygems.rb' is deprecated, and will be removed on or after 2018-12-01. Remove `-rubygems' from your command-line, or use `-r rubygems' instead
1 parent 6b1471e commit 875e372

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ task :man => 'man/rdiscount.1'
5353
require 'rake/testtask'
5454
Rake::TestTask.new('test:unit') do |t|
5555
t.test_files = FileList['test/*_test.rb']
56-
t.ruby_opts += ['-rubygems'] if defined? Gem
56+
t.ruby_opts += ['-r rubygems'] if defined? Gem
5757
end
5858
task 'test:unit' => [:build]
5959

0 commit comments

Comments
 (0)