From 50076903ab06e2301051e459925afea20325ba7c Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Sun, 21 Jul 2019 12:21:27 +0900 Subject: [ruby/psych] Drop to support fat gem support. ref. https://github.com/ruby/bigdecimal/pull/149 https://github.com/ruby/psych/commit/25ae263252 --- ext/psych/lib/psych.rb | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'ext/psych/lib/psych.rb') diff --git a/ext/psych/lib/psych.rb b/ext/psych/lib/psych.rb index 2a2ec2af43..9513f794b8 100644 --- a/ext/psych/lib/psych.rb +++ b/ext/psych/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' -- cgit v1.2.3