class Gem::BasicSpecification

On universal Rubies, resolve the “universal” arch to the real CPU arch, without changing the extension directory.

Constants

ORIGINAL_LOCAL_PLATFORM

Public Instance Methods

extensions_dir() click to toggle source
# File bundler/rubygems_ext.rb, line 384
def extensions_dir
  @extensions_dir ||=
    Gem.default_ext_dir_for(base_dir) || File.join(base_dir, "extensions", ORIGINAL_LOCAL_PLATFORM, Gem.extension_api_version)
end
ignored?() click to toggle source
# File bundler/rubygems_ext.rb, line 393
def ignored?
  return @ignored unless @ignored.nil?

  @ignored = missing_extensions?
end