Jruby shell script don't work on KSH shell
------------------------------------------
Key: JRUBY-2119
URL: http://jira.codehaus.org/browse/JRUBY-2119
Project: JRuby
Issue Type: Bug
Components: Interpreter
Affects Versions: JRuby 1.1RC1
Environment: OpenBSD-Current / ksh
Reporter: Yannick "Pouype" Francois
Attachments: patch.diff
Could not use Jruby. Script shell is not really clean about params and other
construction.
Here is an example:
$ jruby -v
/home/pouype/sandbox/jruby/bin/jruby[164]: java -Xmx378m -Xss1024k -classpath
/home/pouype/sandbox/jruby/lib/bsf.jar:/home/pouype/sandbox/jruby/lib/jruby.jar
-Djruby.base=/home/pouype/sandbox/jruby
-Djruby=/home/pouype/sandbox/jruby
-Djruby.lib=/home/pouype/sandbox/jruby/lib/ -Djruby=jruby
-Djruby.shell=/bin/sh org.jruby.Main -v : not found
And if I put bash on ma station:
bash-3.2$ jruby -v
/home/pouype/sandbox/jruby/bin/jruby[164]: java -Xmx378m -Xss1024k -classpath
/home/pouype/sandbox/jruby/lib/bsf.jar:/home/pouype/sandbox/jruby/lib/jruby.jar
-Djruby.base=/home/pouype/sandbox/jruby
-Djruby=/home/pouype/sandbox/jruby
-Djruby.lib=/home/pouype/sandbox/jruby/lib/ -Djruby=jruby
-Djruby.shell=/bin/sh org.jruby.Main -v : not found
It's the same.
I join a work about this Jruby Launch Shell Script.
Perhaps some part are alawys missing, but I think must of shell linked problem
could be resolve with it.
(Still have a strange problem when I try testsutie about shell, but, dunno if
it's some testsuite bugs or shell script bug. this patch work great for me, and
for some test I have made... Hope it's ok for all)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email