Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Gem::Commands::RebuildCommand#build_gem
build_gem(gem_name, source_date_epoch, output_file)
lib/rubygems/commands/rebuild_command.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.4.1/lib/rubygems/commands/rebuild_command.rb, line 190
def build_gem(gem_name, source_date_epoch, output_file)
gemspec = options[:gemspec_file] || find_gemspec("#{gem_name}.gemspec")
if gemspec
build_package(gemspec, source_date_epoch, output_file)
else
alert_error error_message(gem_name)
terminate_interaction(1)
end
end
No documentation available