Skip to content

Commit e9e06aa

Browse files
committed
MRI loads unicode_normalize.rb on boot now.
1 parent 52351c4 commit e9e06aa

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

core/src/main/ruby/jruby/kernel.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,10 @@
3434
load 'jruby/kernel/range.rb'
3535
load 'jruby/kernel/load_error.rb'
3636

37+
# From enc/prelude.rb in MRI
38+
begin
39+
require 'unicode_normalize'
40+
rescue LoadError
41+
end
42+
3743
load 'jruby/kernel/rubygems.rb' unless JRuby::CONFIG.rubygems_disabled?

0 commit comments

Comments
 (0)