Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Gem::Installer#formatted_program_filename
formatted_program_filename(filename)
lib/rubygems/installer.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.3.0/lib/rubygems/installer.rb, line 876
def formatted_program_filename(filename)
if @format_executable
self.class.exec_format % File.basename(filename)
else
filename
end
end
Prefix and suffix the program filename the same as ruby.