gabriele renzi <surrender_it / remove.yahoo.it> wrote:
> >There is the function g_get_home_dir() in the GLib, but I can't find the
> >way to call it from ruby :(
> >Also I need it to function on GNU/Linux, Windows, and hopefully MacOS X.
> 
> well, ENV['HOME'] works fine on my windows box and linux one

We had similar questions before, e. g. the thread
"Profile-independent directory specification for NT?"
might be interesting in this context.

Cheers
Sascha