method

util_make_exec

ruby latest stable - Class: Gem::InstallerTestCase
util_make_exec(spec = @spec, shebang = "#!/usr/bin/ruby")
public

Adds an executable named “executable” to spec with the given shebang.

The executable is also written to the bin dir in @tmpdir and the installed gem directory for spec.