jruby/jruby — pull request #328 by ratnikov (2012-10-01 22:32:10+00:00)
Title: Fix Dir.tmpdir exploding with unexisting TMPDIR regression

This pull fixes regression in 1.7, which makes following code explode:

TMPDIR=/foo bin/jruby -r tmpdir -e 'puts Dir.tmpdir'

What's a good test to reproduce this issue in? Is test//externals/ruby1.9/test_tempfile.rb the best place?