method

install_file

Importance_0
Ruby latest stable (v2_5_5) - 0 notes - Class: SetupCommand
install_file(file, dest_dir) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/rubygems/commands/setup_command.rb, line 278
  def install_file file, dest_dir
    dest_file = File.join dest_dir, file
    dest_dir = File.dirname dest_file
    mkdir_p dest_dir unless File.directory? dest_dir

    install file, dest_file, :mode => 0644
  end
Register or log in to add new notes.