Fix build error with JRuby on Travis CI
Fix build error with JRuby on Travis CI

https://github.com/travis-ci/travis-ci/issues/1948

yujinakayama/transpec,yujinakayama/transpec,irfanah/transpec,irfanah/transpec