this should be on jruby as well.  I'd add it to gemspec instead of the gem file