End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Gem::Commands::SetupCommand#regenerate_binstubs
regenerate_binstubs(bindir)
lib/rubygems/commands/setup_command.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.2.0/lib/rubygems/commands/setup_command.rb, line 584
def regenerate_binstubs(bindir)
require_relative "pristine_command"
say "Regenerating binstubs"
args = %w[--all --only-executables --silent]
args << "--bindir=#{bindir}"
if options[:env_shebang]
args << "--env-shebang"
end
command = Gem::Commands::PristineCommand.new
command.invoke(*args)
end
No documentation available
See also
#prepend_destdir_if_present
#regenerate_plugins
#make_destination_dirs
#remove_file_list
also in
4.1 · 4.0 · 3.4 · 3.3 · 3.1 · 3.0