Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →
instance method
Gem::Commands::SetupCommand#install_lib
install_lib(lib_dir)
lib/rubygems/commands/setup_command.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.1.0-preview1/lib/rubygems/commands/setup_command.rb, line 284
def install_lib(lib_dir)
libs = { "RubyGems" => "lib" }
libs.each do |tool, path|
say "Installing #{tool}" if @verbose
lib_files = files_in path
Dir.chdir path do
install_file_list(lib_files, lib_dir)
end
end
end
No documentation available
See also
#install_file_list
#install_rdoc
#install_file
#make_destination_dirs
also in
4.0 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0