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:
parent
938032a790
commit
50076903ab
1 changed files with 1 additions and 5 deletions
|
@ -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'
|
||||
|
|
Loading…
Add table
Reference in a new issue