Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Gem::Specification#bin_file
bin_file(name)
lib/rubygems/specification.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.4.1/lib/rubygems/specification.rb, line 1553
def bin_file(name)
File.join bin_dir, name
end
Returns the full path to an executable named name in this gem.