End of Life Ruby 3.1 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Gem::Commands::SetupCommand#make_destination_dirs
make_destination_dirs
lib/rubygems/commands/setup_command.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.1.3/lib/rubygems/commands/setup_command.rb, line 425
def make_destination_dirs
lib_dir, bin_dir = Gem.default_rubygems_dirs
unless lib_dir
lib_dir, bin_dir = generate_default_dirs
end
mkdir_p lib_dir, :mode => 0755
mkdir_p bin_dir, :mode => 0755
return lib_dir, bin_dir
end
No documentation available
See also
#install_rdoc
#prepend_destdir_if_present
#install_lib
#regenerate_binstubs
also in
4.1 · 4.0 · 3.4 · 3.3 · 3.2 · 3.0