Sha256: 943fe53d0c07155728818e7ae4a283c07999797dd22d5e4805969720825da1b3
Contents?: true
Size: 716 Bytes
Versions: 54
Compression:
Stored size: 716 Bytes
Contents
# frozen_string_literal: true # load the C or Java extension begin ::RUBY_VERSION =~ /(\d+\.\d+)/ require "nokogiri/#{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 'nokogiri/nokogiri' end
Version data entries
54 entries across 52 versions & 3 rubygems