Sha256: afd9a191192e9c63ba5623ec5cc54a46a3da2250a2072def936b729ba9035208
Contents?: true
Size: 674 Bytes
Versions: 148
Compression:
Stored size: 674 Bytes
Contents
# frozen_string_literal: true begin # native precompiled gems package shared libraries in <gem_dir>/lib/commonmarker/<ruby_version> # load the precompiled extension file ruby_version = /\d+\.\d+/.match(RUBY_VERSION) require_relative "#{ruby_version}/commonmarker" rescue LoadError # fall back to the extension compiled upon installation. # use "require" instead of "require_relative" because non-native gems will place C extension files # in Gem::BasicSpecification#extension_dir after compilation (during normal installation), which # is in $LOAD_PATH but not necessarily relative to this file (see nokogiri#2300) require "commonmarker/commonmarker" end
Version data entries
148 entries across 148 versions & 1 rubygems