Add jruby platform checker.
Add support to specify the version of jRuby in the Gemfile.
Ignore mysql2 gem when using jruby.