Feature #192

Specs for JRuby supporting the -x option of the Ruby interpreter

Added by Michael Johann 238 days ago. Updated 238 days ago.

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.

JRUBY-1954.patch (9.1 KB) Michael Johann, 01/14/2010 05:34 AM

History

01/14/2010 06:04 AM - Vladimir Sizikov

Willl take a look.

Also available in: Atom PDF