From: Tim Kynerd Date: 2003-11-25T02:52:14+09:00 Subject: Re: "wrong argument type nil (expected String)" from Dir.chdir On Mon, 24 Nov 2003 09:31:54 +0100, Robert Klemme wrote: > > "Tim Kynerd" schrieb im Newsbeitrag > news:pan.2003.11.24.07.03.02.137518@kynerd.no-ip.com... >> Sorry to be following up to myself, but here's a bit more info (that > just >> came to me in the shower ;-) ). >> >> The following program: >> >> newdir = "/" >> Dir.chdir(newdir) >> >> throws the same error in the debugger, but on the *first* line with the >> string assignment. This gives me the strong feeling that something very >> non-obvious is going on. > > Sounds strange indeed. > >> Also, a trip to /usr/src tells me I'm running kernel 2.4.20. > > Is that the same as "uname -a" reports? Thanks, couldn't remember how to do that! :-) uname -a reports: Linux kynerd 2.4.20-4GB #1 Wed Aug 6 18:26:21 UTC 2003 i686 unknown unknown GNU/ Linux -- Tim Kynerd Sundbyberg (sm�stan i storstan), Sweden tkynerd@spamcop.net Sunrise in Stockholm today: 8:03 Sunset in Stockholm today: 15:04 My rail transit photos at http://www.kynerd.nu