Patch gemfile for jruby

JRuby tests are currently failing related to temp directories.  

One part of the fix is a band-aid to `require 'tmpdir'` until https://github.com/jruby/activerecord-jdbc-adapter/pull/601 is merged

The other is a work-around for temp directory paths