Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Dir.home returns LOGDIR env var instead of HOME or user.home #1556
While searching for the reason why net/ssh didn't pick up my keys from my home folder, I noticed that Dir.home is pointing to the path defined in the LOGDIR evn variable.
In org.jruby.Rubydir.getHomeDirectoryPath() the order is
According to JRUBY-6295 in Jira it should be
(which makes much more sense).