1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[ruby/psych] Drop to support fat gem support.

ref. https://github.com/ruby/bigdecimal/pull/149

https://github.com/ruby/psych/commit/25ae263252
This commit is contained in:
Hiroshi SHIBATA 2019-07-21 12:21:27 +09:00 committed by Nobuyoshi Nakada
parent 938032a790
commit 50076903ab
No known key found for this signature in database
GPG key ID: 4BC7D6DF58D8DF60

View file

@ -10,11 +10,7 @@ when 'jruby'
org.jruby.ext.psych.PsychLibrary.new.load(JRuby.runtime, false)
end
else
begin
require "#{RUBY_VERSION[/\d+\.\d+/]}/psych.so"
rescue LoadError
require 'psych.so'
end
require 'psych.so'
end
require 'psych/nodes'
require 'psych/streaming'