[ruby/erb] Skip building a native extension for JRuby

https://github.com/ruby/erb/commit/f0f68baf6b
This commit is contained in:
Takashi Kokubun 2024-01-04 14:32:43 -08:00 committed by git
parent 10b9679fa6
commit d20c609465

View File

@ -1,6 +1,7 @@
require 'mkmf'
if RUBY_ENGINE == 'truffleruby'
case RUBY_ENGINE
when 'jruby', 'truffleruby'
File.write('Makefile', dummy_makefile($srcdir).join)
else
create_makefile 'erb/escape'