JRuby has a few minor modifications to tmpdir that we should evaluate to merge or remove. Most of these are pretty simple changes. https://gist.github.com/headius/f972fdb91565828c76e78dcf4ae7f5be I will do the work to get these changes incorporated into the gem.
Activity
hsbt commentedon Jan 27, 2022
I'm okay to merge JRuby's tmpdir changes if you want to keep it.
Update tmpdir.rb from 3.1
headius commentedon Mar 1, 2023
So there are really only two changes:
etc.sorequire toetcThis second item will require fixes in JRuby, or reverting that line just for JRuby temporarily.
headius commentedon Mar 1, 2023
See also jruby/jruby#3698 which describes the problem with using
joininstead ofexpand_pathon JRuby.