patches gem publishing in jruby

This is an ugly workaround to jruby's broken calls to Open3.capture3 in the gem_publisher gem.