From: Tim Kynerd Date: 2003-11-24T04:37:23+09:00 Subject: "wrong argument type nil (expected String)" from Dir.chdir I'm running Ruby 1.6.8. Can anybody tell me why this line: Dir.chdir("/") results in the error "wrong argument type nil (expected String)" when running in the debugger (ruby -r debug), but not when running in irb? WTF? -- Tim Kynerd Sundbyberg (sm�stan i storstan), Sweden tkynerd@spamcop.net Sunrise in Stockholm today: 8:00 Sunset in Stockholm today: 15:06 My rail transit photos at http://www.kynerd.nu