From 68e7dc532d8c658050fa513bbf6c80126832b070 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dorian=20Mari=C3=A9?= Date: Tue, 7 Jul 2020 23:50:37 +0200 Subject: [PATCH] [ruby/rdoc] Fix failing test by adding gettext as a development dependency The failing test was: ======================================================================================== rdoc/test/rdoc/test_rdoc_i18n_locale.rb:35:in `rescue in test_load_existent_po' Omission: gettext gem is not found [test_load_existent_po(TestRDocI18nLocale)] ======================================================================================== https://github.com/ruby/rdoc/commit/e5f85839e1 --- lib/rdoc/rdoc.gemspec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/rdoc/rdoc.gemspec b/lib/rdoc/rdoc.gemspec index fd222d47e0..6146e09bb6 100644 --- a/lib/rdoc/rdoc.gemspec +++ b/lib/rdoc/rdoc.gemspec @@ -243,4 +243,6 @@ RDoc includes the +rdoc+ and +ri+ tools for generating and displaying documentat s.required_ruby_version = Gem::Requirement.new(">= 2.4.0") s.required_rubygems_version = Gem::Requirement.new(">= 2.2") + + s.add_development_dependency("gettext") end