mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 06:37:19 -04:00
- Force jruby if USE_JRUBY is set
This commit is contained in:
parent
98863a67c0
commit
c33b9d100c
1 changed files with 2 additions and 1 deletions
|
@ -8,7 +8,8 @@ fi
|
|||
|
||||
export RUBYLIB="$basedir/lib"
|
||||
|
||||
if which ruby > /dev/null 2>&1 ; then
|
||||
which ruby > /dev/null 2>&1
|
||||
if [ "$?" -eq 0 -a -z "$USE_JRUBY" ] ; then
|
||||
ruby "$basedir/lib/logstash/runner.rb" "$@"
|
||||
else
|
||||
# No ruby found, fetch JRuby and run.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue