Skip to content

Commit f0f68ba

Browse files
committed
Skip building a native extension for JRuby
1 parent 8db8b8b commit f0f68ba

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ext/erb/escape/extconf.rb

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
require 'mkmf'
22

3-
if RUBY_ENGINE == 'truffleruby'
3+
case RUBY_ENGINE
4+
when 'jruby', 'truffleruby'
45
File.write('Makefile', dummy_makefile($srcdir).join)
56
else
67
create_makefile 'erb/escape'

0 commit comments

Comments
 (0)