Sha256: 43fd6fc48ba5b569a5065356802c54e2069ae2c92b3bae3d890aedc77cf28c0c
Contents?: true
Size: 716 Bytes
Versions: 24
Compression:
Stored size: 716 Bytes
Contents
# frozen_string_literal: true # load the C or Java extension begin ::RUBY_VERSION =~ /(\d+\.\d+)/ require_relative "#{Regexp.last_match(1)}/nokogiri" rescue LoadError => e if e.message =~ /GLIBC/ warn(<<~EOM) ERROR: It looks like you're trying to use Nokogiri as a precompiled native gem on a system with glibc < 2.17: #{e.message} If that's the case, then please install Nokogiri via the `ruby` platform gem: gem install nokogiri --platform=ruby or: bundle config set force_ruby_platform true Please visit https://nokogiri.org/tutorials/installing_nokogiri.html for more help. EOM raise e end require_relative "nokogiri" end
Version data entries
24 entries across 24 versions & 1 rubygems