mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
4bc87cb1fb
Same reason as in the previous commit. https://github.com/rubygems/rubygems/commit/f00a6c8516
10 lines
221 B
Ruby
10 lines
221 B
Ruby
# frozen_string_literal: true
|
|
|
|
begin
|
|
require "psych"
|
|
rescue LoadError
|
|
# Apparently Psych wasn't available. Oh well.
|
|
end
|
|
|
|
# At least load the YAML stdlib, whatever that may be
|
|
require "yaml" unless defined?(YAML.dump)
|