Install this gem and require 'mysql' within JRuby to load the driver.
Nick Sieger, Ola Bini and JRuby contributors
無