Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →
instance method
Gem::Specification#missing_extensions?
missing_extensions?
lib/rubygems/specification.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.1.0-preview1/lib/rubygems/specification.rb, line 2112
def missing_extensions?
return false if RUBY_ENGINE == "jruby"
return false if extensions.empty?
return false if default_gem?
return false if File.exist? gem_build_complete_path
true
end
Is this specification missing its extensions? When this returns true you probably want to build_extensions
See also
#loaded_from_abi_scoped_spec_dir?
#name_tuple
#licenses=
#normalize
also in
4.0 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0