Feature #192
Specs for JRuby supporting the -x option of the Ruby interpreter
| Status : | New | Start : | 01/14/2010 | |
| Priority : | Normal | Due date : | ||
| Assigned to : | Vladimir Sizikov | % Done : | 0% |
|
| Category : | - | |||
| Target version : | - | |||
Description
This is from the man page of ruby:
-x[directory] Tells Ruby that the script is embedded in a message.
Leading garbage will be discarded until the first that
starts with ``#!'' and contains the string, ``ruby''. Any
meaningful switches on that line will applied. The end of
script must be specified with either EOF, ^D (control-D),
^Z (control-Z), or reserved word __END__. If the direc-
tory name is specified, Ruby will switch to that directory
before executing script.
the specs contained in the patch file are for supporting JRuby and the -x option.
Please add the patch to the specs that are in relation to JRUBY-1954.
