It seems CRuby has a fallback in the case `HOME` is unset: ``` $ unset HOME $ ruby -e 'p Dir.home' "/home/eregon" $ HOME=/home ruby -e 'p Dir.home' "/home" ``` Found in https://github.com/SeleniumHQ/selenium/issues/11251#issuecomment-1313968186 Related: https://github.com/jruby/jruby/issues/5661