shebang

shebang(bin_file_name)
Instance Public methods

Generates a #! line for bin_file_name's wrapper copying arguments if necessary.

If the :custom_shebang config is set, then it is used as a template for how to create the shebang used for to run a gem's executables.

The template supports 4 expansions:

$env    the path to the unix env utility
$ruby   the path to the currently running ruby interpreter
$exec   the path to the gem's executable
$name   the name of the gem the executable is for
doc_ruby_on_rails
2015-04-09 10:08:12
Comments
Leave a Comment

Please login to continue.