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#default_dir
default_dir
lib/rubygems/commands/setup_command.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.2.0/lib/rubygems/commands/setup_command.rb, line 612
def default_dir
prefix = options[:prefix]
if prefix.empty?
dir = Gem.default_dir
else
dir = prefix
end
prepend_destdir_if_present(dir)
end
No documentation available
See also
#check_ruby_version
#execute
#bin_file_names
#files_in
also in
4.1 · 4.0 · 3.4 · 3.3 · 3.1 · 3.0