[ruby/erb] Skip building a native extension for JRuby
https://github.com/ruby/erb/commit/f0f68baf6b
This commit is contained in:
parent
10b9679fa6
commit
d20c609465
@ -1,6 +1,7 @@
|
|||||||
require 'mkmf'
|
require 'mkmf'
|
||||||
|
|
||||||
if RUBY_ENGINE == 'truffleruby'
|
case RUBY_ENGINE
|
||||||
|
when 'jruby', 'truffleruby'
|
||||||
File.write('Makefile', dummy_makefile($srcdir).join)
|
File.write('Makefile', dummy_makefile($srcdir).join)
|
||||||
else
|
else
|
||||||
create_makefile 'erb/escape'
|
create_makefile 'erb/escape'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user