Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Gem::Installer#spec_file
spec_file
lib/rubygems/installer.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.3.0/lib/rubygems/installer.rb, line 442
def spec_file
File.join gem_home, "specifications", "#{spec.full_name}.gemspec"
end
The location of the spec file that is installed.