Morton Goldberg wrote:
> I'm running on OS X, too. Here is what works for me in getting user
> environment info:
> 
>        user = ENV['USER'] # user login name
>        home = ENV['HOME'] # user login path
> 
> The second seems to be what you are looking for.
> 
> Regards, Morton

Nice one

Thanks

-- 
Posted via http://www.ruby-forum.com/.