vert-x/vert.x — pull request #307 by tazsingh (2012-07-26 18:20:52+00:00)
Title: Run Ruby in 1.9 mode

For some reason, JRuby is set to run in 1.8 mode. It should run in 1.9 mode as that is the latest version and is backwards compatible with 1.8 syntax (although the core libraries would be different).

Ideally, the user should select which version of Ruby to run and I see that the `container.setCompatVersion` line was added recently. Without it, I assume that JRuby will run under whatever default it is compiled with. Since it can be compiled with either a default of 1.8 or 1.9, I would like to remove this line entirely or maybe only specify it for tests.

Either way, JRuby should be set to 1.9 mode if anything.