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#install_lib
install_lib(lib_dir)
lib/rubygems/commands/setup_command.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.2.0/lib/rubygems/commands/setup_command.rb, line 307
def install_lib(lib_dir)
libs = { "RubyGems" => "lib" }
libs["Bundler"] = "bundler/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.1 · 4.0 · 3.4 · 3.3 · 3.1 · 3.0