macOS - will psych.bundle load?
MSP-Greg opened this issue · 1 comments
MSP-Greg commented
Confused by this line in psych.rb
Line 13 in bdf20e6
Will that load the extension on macOS? Can't test locally. Maybe the below, which should be equivalent to the correct filename (psych.bundle
for macOS) :
require "psych.#{RbConfig::CONFIG['DLEXT']}"
I see there is no error handling, so require
parses the filename extension?
hsbt commented
Ruby will fallback .so
extension to .bundle
in macOS.