Skip to content

Instantly share code, notes, and snippets.

@ExoUNX ExoUNX/test.rb Secret
Created Oct 12, 2019

Embed
What would you like to do?
gitlab
ENV["HOME"] ||= "#{ENV["HOMEDRIVE"]}#{ENV["HOMEPATH"]}"
if !File.directory? ENV["HOME"]
raise RuntimeError.new("HOME environment variable (or HOMEDRIVE and HOMEPATH) must be set and point to a directory")
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.