From: Niklas Baumstark Date: 2008-08-01T01:40:33+09:00 Subject: Re: How to get special directories? Dave Bass wrote: > Have you looked at Ruby's ENV environment hash? Try: > > p ENV > > to see what's available on your OS. sry, haven't seen this before posting. the problem is, that it's an app that is shared between linux, windows and maybe OS X machines, so it must be cross-platform. and ENV is not globally available. i've had the sitation recently, that a SVN post-commit hook-script didn't inherit its variables from the environment so the ruby script it called didn't have any environment variables to use. Greetings, Niklas -- Posted via http://www.ruby-forum.com/.