ruby-changes:74326
From: Takashi <ko1@a...>
Date: Thu, 3 Nov 2022 14:58:32 +0900 (JST)
Subject: [ruby-changes:74326] c24800f4f7 (master): [ruby/erb] Fix CI for JRuby
https://git.ruby-lang.org/ruby.git/commit/?id=c24800f4f7 From c24800f4f71a1971619855065c37adaa766a3dd1 Mon Sep 17 00:00:00 2001 From: Takashi Kokubun <takashikkbn@g...> Date: Wed, 2 Nov 2022 22:49:09 -0700 Subject: [ruby/erb] Fix CI for JRuby https://github.com/ruby/erb/commit/df642335b7 --- lib/erb.gemspec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/erb.gemspec b/lib/erb.gemspec index e89a358f8a..2e7e981ff1 100644 --- a/lib/erb.gemspec +++ b/lib/erb.gemspec @@ -27,7 +27,9 @@ Gem::Specification.new do |spec| https://github.com/ruby/ruby/blob/trunk/lib/erb.gemspec#L27 spec.executables = ['erb'] spec.require_paths = ['lib'] - spec.required_ruby_version = ">= 2.7.0" + if RUBY_ENGINE != 'jruby' + spec.required_ruby_version = '>= 2.7.0' + end spec.add_dependency 'cgi', '>= 0.3.3' end -- cgit v1.2.3 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/