Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Gem::Specification#add_bindir
add_bindir(executables)
lib/rubygems/specification.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.4.1/lib/rubygems/specification.rb, line 1477
def add_bindir(executables)
return nil if executables.nil?
if @bindir
Array(executables).map {|e| File.join(@bindir, e) }
else
executables
end
rescue StandardError
nil
end
Returns an array with bindir attached to each executable in the executables list
See also
#activate_dependencies
#add_dependency
#activate
#add_dependency_with_type
also in
4.1 · 4.0 · 3.3 · 3.2 · 3.1 · 3.0