Dir.glob(File.expand_path('core_ext/*.rb', __dir__)).each do |path|
  require path
end

Dir.glob(File.expand_path('core_ext/*.rb', File.dirname(__FILE__))).each do |path|
  require path
end

Fix no method error on ruby-1.9.3
Fix no method error on ruby-1.9.3
