End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Gem::Installer#write_default_spec
write_default_spec
lib/rubygems/installer.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.0.5/lib/rubygems/installer.rb, line 458
def write_default_spec
Gem.write_binary(default_spec_file, spec.to_ruby)
end
Writes the full .gemspec specification (in Ruby) to the gem home’s specifications/default directory.
See also
#write_cache_file
#write_spec
#write_build_info_file
also in
4.1 · 4.0 · 3.4 · 3.3 · 3.2 · 3.1