Fix JRuby portions
Merge branch 'master' of github.com:johnotander/ruby_optimization_techniques