diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2019-07-21 12:21:27 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2019-07-21 12:21:27 +0900 |
commit | 25ae263252c101289754d8be4a114fce797e8f7e (patch) | |
tree | 07f5949c0f928b29a2ad15997d040f5f58493c3d /lib | |
parent | 939754237f43a130a90e088f8f9e9b28caea5a46 (diff) | |
download | psych-25ae263252c101289754d8be4a114fce797e8f7e.zip |
Drop to support fat gem support.
ref. https://github.com/ruby/bigdecimal/pull/149
Diffstat (limited to 'lib')
-rw-r--r-- | lib/psych.rb | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/psych.rb b/lib/psych.rb index 2a2ec2a..9513f79 100644 --- a/lib/psych.rb +++ b/lib/psych.rb @@ -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' |