jruby version to match what's in Makefile

`Makefile` calls for `jruby` version `1.7.4`,  fixing `bin/logstash` to use the same version.
This commit is contained in:
Paul Czarkowski 2013-06-24 09:26:48 -05:00
parent 4b44f71e6e
commit 3b0e66ec58

View file

@ -15,7 +15,7 @@ if [ "$?" -eq 0 -a -z "$USE_JRUBY" ] ; then
exec ruby "$basedir/lib/logstash/runner.rb" "$@"
else
# No ruby found, fetch JRuby and run.
jruby="vendor/jar/jruby-complete-1.7.3.jar"
jruby="vendor/jar/jruby-complete-1.7.4.jar"
[ ! -f "$jruby" ] && make build-jruby
exec java -jar "$jruby" "$basedir/lib/logstash/runner.rb" "$@"
fi