From: Thomas Luedeke Date: 2008-08-12T08:06:45+09:00 Subject: Re: Problems with accessing directory defined in ENV variables Fred Phillips wrote: > On Tue Aug 12 06:46:26 2008, Thomas Luedeke wrote: >> However, if I try to change to that directory with a command such as >> Dir.chdir(" #{ENV['TMPDIR']} " ), I always get errors like this: > > You don’t need the quotes, you can just do: > > Dir.chdir(ENV['TMPDIR']) Whew - that did it. Thanks so much - that is a serious load off my back. Just for my newbie education, what was going wrong with what I was doing? What was Ruby thinking I was asking for?? -- Posted via http://www.ruby-forum.com/.