End of Life Ruby 3.1 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Gem::Commands::SetupCommand#target_bin_path
target_bin_path(bin_dir, bin_file)
lib/rubygems/commands/setup_command.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.1.3/lib/rubygems/commands/setup_command.rb, line 658
def target_bin_path(bin_dir, bin_file)
bin_file_formatted = if options[:format_executable]
Gem.default_exec_format % bin_file
else
bin_file
end
File.join bin_dir, bin_file_formatted
end
No documentation available
See also
#show_release_notes
#uninstall_old_gemcutter
#shebang
also in
4.1 · 4.0 · 3.4 · 3.3 · 3.2 · 3.0