1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/enc/prelude.rb
usa ee4782f774 * enc/prelude.rb: we sometimes run ruby without library path (especially
for test), so should permit to run ruby if unicode_normalize.rb is
  missing.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-20 15:01:13 +00:00

11 lines
166 B
Ruby

%w'enc/encdb.so enc/trans/transdb.so'.each do |init|
begin
require(init)
rescue LoadError
end
end
begin
require 'unicode_normalize'
rescue LoadError
end