From: Thomas Luedeke Date: 2008-08-12T08:02:50+09:00 Subject: Re: Problems with accessing directory defined in ENV variables matt neuburg wrote: > Thomas Luedeke wrote: > >> However, if I try to change to that directory with a command such as >> Dir.chdir(" #{ENV['TMPDIR']} " ), > > There are extra spaces at the start and end of the double-quoted string. > Could that be the trouble? m. Well, I do get a different (if not less enigmatic) error: test.rb:5: warning: Insecure world writable dir /TEMP2002 in PATH, mode 040777 /usr/bin/cd[7]: /TEMP2002/T3905/: not found. -- Posted via http://www.ruby-forum.com/.