class method
Gem.bindir
(?::String install_dir) -> ::String
bindir(install_dir = Gem.dir)
lib/rubygems.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/rubygems.rb, line 331
def self.bindir(install_dir = Gem.dir)
return File.join install_dir, "bin" unless
install_dir.to_s == Gem.default_dir.to_s
Gem.default_bindir
end
The path where gem executables are to be installed.
See also
.binary_mode
.bin_path
.already_loaded?
.cache_home
also in
4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0