From: Arihan Sinha Date: 2010-09-28T18:36:23+09:00 Subject: retrieve the username Dear All, How would I get the username in mac through ruby like in windows I am using ENV['USERNAME'] ENV['USERNAME']- it gives nil in mac system cheers A -- Posted via http://www.ruby-forum.com/.