Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Incomplete
    • Affects Version/s: JRuby 1.1RC1
    • Fix Version/s: None
    • Component/s: Interpreter
    • Labels:
      None
    • Environment:
      OpenBSD-Current / ksh
    • Patch Submitted:
      Yes
    • Number of attachments :
      2

      Description

      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)

      1. patch.diff
        3 kB
        Yannick "Pouype" Francois
      2. unified_patch
        3 kB
        Yannick "Pouype" Francois

        Issue Links

          Activity

            People

            • Assignee:
              Charles Oliver Nutter
              Reporter:
              Yannick "Pouype" Francois
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: