method

executables

Importance_1
Ruby latest stable (v2_5_5) - 0 notes - Class: Specification
executables() public

Executables included in the gem.

For example, the rake gem has rake as an executable. You don’t specify the full path (as in bin/rake); all application-style files are expected to be found in bindir. These files must be executable Ruby files. Files that use bash or other interpreters will not work.

Executables included may only be ruby scripts, not scripts for other languages or compiled binaries.

Usage:

spec.executables << 'rake'
Show source
Register or log in to add new notes.