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_file
install_file(file, dest_dir)
lib/rubygems/commands/setup_command.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.2.0/lib/rubygems/commands/setup_command.rb, line 637
def install_file(file, dest_dir)
dest_file = File.join dest_dir, file
dest_dir = File.dirname dest_file
unless File.directory? dest_dir
mkdir_p dest_dir, :mode => 0755
end
install file, dest_file, :mode => options[:data_mode] || 0644
end
No documentation available
See also
#install_executables
#install_file_list
#install_default_bundler_gem
#install_lib
also in
4.1 · 4.0 · 3.4 · 3.3 · 3.1 · 3.0