I need to determine what environment my ruby script is running in so I can remove files and clean up directories after execution.
I tried using ENV['os']
but I am using cygwin and it gave me Windows_NT, Does anyone know a way to find the current environment?
Thanks