Sha256: 9d7c12a7e76d591c354b89e155cb882829ab35378648b49b9eb0cc43cce68f4d
Contents?: true
Size: 544 Bytes
Versions: 29
Compression:
Stored size: 544 Bytes
Contents
# frozen_string_literal: true module Bundler module ForcePlatform # The `:force_ruby_platform` value used by dependencies for resolution, and # by locked specifications for materialization is `false` by default, except # for TruffleRuby. TruffleRuby generally needs to force the RUBY platform # variant unless the name is explicitly allowlisted. def default_force_ruby_platform return false unless RUBY_ENGINE == "truffleruby" !Gem::Platform::REUSE_AS_BINARY_ON_TRUFFLERUBY.include?(name) end end end
Version data entries
29 entries across 29 versions & 3 rubygems