Open dlackty opened 9 years ago
For some environments, ENV['HOME'] might not be available and this gem will fail to load, however Etc.getpwuid.dir would still be available no matter ENV["HOME"] is presented or not.
ENV['HOME']
Etc.getpwuid.dir
ENV["HOME"]
ref. http://stackoverflow.com/questions/4190930/cross-platform-means-of-getting-users-home-directory-in-ruby
For some environments,
ENV['HOME']
might not be available and this gem will fail to load, howeverEtc.getpwuid.dir
would still be available no matterENV["HOME"]
is presented or not.ref. http://stackoverflow.com/questions/4190930/cross-platform-means-of-getting-users-home-directory-in-ruby