summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2019-07-21 12:21:27 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-07-25 07:50:37 +0900
commit50076903ab06e2301051e459925afea20325ba7c (patch)
tree4827028bf30ee1cefdb5dc414ed175dcd8f55aaa /ext
parent938032a790b22a1b49c1b112ede2da4597b4e75c (diff)
[ruby/psych] Drop to support fat gem support.
ref. https://github.com/ruby/bigdecimal/pull/149 https://github.com/ruby/psych/commit/25ae263252
Diffstat (limited to 'ext')
-rw-r--r--ext/psych/lib/psych.rb6
1 files changed, 1 insertions, 5 deletions
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'