elasticsearch/logstash — pull request #1232 by rwstauner (2014-04-08 19:29:47+00:00)
Title: Use jruby to run 'make test'

Since the 'test' target depends on jruby installation targets it seems like the original intention.
Without this `make test` doesn't work out of the box (as described in README and CONTRIBUTING).

It tries to use my other ruby which errors for being the wrong version or not having required gems installed (even though the make command appears to install the necessary deps (they're just not getting used)).

Alternatively, if it makes more sense, maybe `USE_JRUBY=1` should be set globally in the Makefile
or maybe there should be a separate Makefile var for `LOGSTASH_CMD=USE_JRUBY=1 bin/logstash`.

Does this make sense? Other thoughts?
Thanks!