[PATCH] jruby complete jar unable to find scripts that are on the PATH 
environment variable
-------------------------------------------------------------------------------------------

                 Key: JRUBY-5576
                 URL: http://jira.codehaus.org/browse/JRUBY-5576
             Project: JRuby
          Issue Type: Bug
    Affects Versions: JRuby 1.6RC3
            Reporter: Ketan Padegaonkar
            Assignee: Thomas E Enebo


jruby complete jar is unable to find scripts in the PATH environment.

The patch is available at 
https://github.com/ketan/jruby/commit/08daa6806b7f3a145d4f50d7ca4f620e0df50d86

I'd love to get any feedback for this change to make it to the next RC.

Here's a testcase to reproduce this issue:

{noformat}
# setup a gem dir so we have a clean environment
$ export GEM_HOME=`pwd`/my_gems
$ export GEM_PATH=`pwd`/my_gems

# add the gem's bin path to our path
$ export PATH=$GEM_PATH/bin:$PATH

# install some gem, any gem
$ java -jar jruby-complete-1.6.0.RC3.jar -S gem install bundler

# check that we have the gem
$ java -jar jruby-complete-1.6.0.RC3.jar -S gem list

# check that we have the binary
$ ls $GEM_HOME/bin

# fails with an error
$ java -jar jruby-complete-1.6.0.RC3.jar -S bundle --help
{noformat}


-- 
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


Reply via email to