Skip to content

Commit df64233

Browse files
committed
Fix CI for JRuby
1 parent 499f107 commit df64233

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

erb.gemspec

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ Gem::Specification.new do |spec|
2727
spec.executables = ['erb']
2828
spec.require_paths = ['lib']
2929

30-
spec.required_ruby_version = ">= 2.7.0"
30+
if RUBY_ENGINE != 'jruby'
31+
spec.required_ruby_version = '>= 2.7.0'
32+
end
3133

3234
spec.add_dependency 'cgi', '>= 0.3.3'
3335
end

0 commit comments

Comments
 (0)