Check for Ruby first, then JRuby

This commit is contained in:
Parker Moore 2016-07-07 13:37:25 -07:00
parent 5a339cc735
commit 1a934125d9
No known key found for this signature in database
GPG Key ID: 193CDEBA72063C58
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@
# -----------------------------------------------------------------------------
rubies=()
for r in jruby ruby; do
for r in ruby jruby; do
if which "$r" > /dev/null 2>&1
then
echo $r