Cucumber and Gherking are not 100% compliant with JRuby and JRuby reports two warnings I've filtered out in this code.  Have not investigated what is the right way to fix this yet.
In this PR I've tried to make Cucumber buildable with JRuby w/o fixing all problem it has.