mongoid/mongoid — pull request #2269 by michaelklishin (2012-07-31 18:48:03+00:00)
Title: Disable invokedynamic on travis

We will soon change JRUBY_OPTS to disable invokedynamic by default. This
helps with sporadic 32 bit JVM segfaults. Long story short, indy
is young and JRuby's code paths that use indy are even younger, and the
two have a lot to work out together in the upcoming couple of years.

Unfortunately, we cannot easily get newer OpenJDK 7 for the Travis CI env, although Oracle JDK 7 should be updated briefly after new releases
(7u6, 7u8, etc). Because the problem is JRuby and 32-bit-specific, our
best option right now is to disable indy. But since Mongoid
overrides JRUBY_OPTS, I had to submit this PR.

JRuby folks agree this is a good idea until we can update OpenJDK 7 and
even Oracle JDK 7.