diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2022-11-02 22:49:09 -0700 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2022-11-03 05:58:13 +0000 |
commit | c24800f4f71a1971619855065c37adaa766a3dd1 (patch) | |
tree | a7c263c95272003e7f6b2db5a2a10876dd4bcf2d /lib/erb.gemspec | |
parent | 59a6caf83acf32915abf11ae81ca3167d2577b21 (diff) |
[ruby/erb] Fix CI for JRuby
https://github.com/ruby/erb/commit/df642335b7
Diffstat (limited to 'lib/erb.gemspec')
-rw-r--r-- | lib/erb.gemspec | 4 |
1 files changed, 3 insertions, 1 deletions
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| 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 |