Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Gem::Specification#bin_dir
bin_dir
lib/rubygems/specification.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.4.1/lib/rubygems/specification.rb, line 1546
def bin_dir
@bin_dir ||= File.join gem_dir, bindir
end
Returns the full path to installed gem’s bin directory.
NOTE: do not confuse this with bindir, which is just ‘bin’, not a full path.