Commit e5fa991
committed
Add an error for running jruby.sh from a broken JRUBY_HOME
If bin/jruby.sh is located within a JRUBY_HOME that is incomplete
(such as a freshly-checked-out repository) it will fail when it
tries to access an unset JRUBY_CP variable. This patch detects the
missing lib/jruby.jar and terminates the script early rather than
letting it fail with a cryptic shell error.
See jruby#92161 parent f21870a commit e5fa991
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
671 | 671 | | |
672 | 672 | | |
673 | 673 | | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
674 | 679 | | |
675 | 680 | | |
676 | 681 | | |
| |||
0 commit comments