End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
class method
Gem.default_bindir
default_bindir
lib/rubygems/defaults.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.0.5/lib/rubygems/defaults.rb, line 199
def self.default_bindir
if defined? RUBY_FRAMEWORK_VERSION # mac framework support
'/usr/local/bin'
else # generic install
RbConfig::CONFIG['bindir']
end
end
The default directory for binaries
See also
.data_home
.default_cert_path
.datadir
.default_dir
also in
4.1 · 4.0 · 3.4 · 3.3 · 3.2 · 3.1