Fix rspec 3 error with jruby
Merge pull request #117 from dtaniwaki/fix-jruby-rspec3-error

Fix rspec 3 error with jruby