123456789_123456789_123456789_123456789_123456789_

Class: Gem::BasicSpecification

Relationships & Source Files
Inherits: Object
Defined in: lib/bundler/rubygems_ext.rb

Overview

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

Constant Summary

Instance Attribute Summary

Instance Method Summary

Instance Attribute Details

#ignored?Boolean (readonly)

[ GitHub ]

  
# File 'lib/bundler/rubygems_ext.rb', line 404

def ignored?
  return @ignored unless @ignored.nil?

  @ignored = missing_extensions?
end

Instance Method Details

#extensions_dir

[ GitHub ]

  
# File 'lib/bundler/rubygems_ext.rb', line 395

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