Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: JRuby 1.6RC3
-
Fix Version/s: JRuby 1.6.1
-
Component/s: None
-
Labels:None
-
Testcase included:yes
-
Number of attachments :
Description
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:
# 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
Activity
Hiro Asari
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Assignee | Thomas E Enebo [ enebo ] | Nick Sieger [ nsieger ] |
| Fix Version/s | JRuby 1.6.1 [ 17085 ] | |
| Resolution | Fixed [ 1 ] |
Charles Oliver Nutter
made changes -
| Status | Resolved [ 5 ] | Closed [ 6 ] |