From: matz@... (Yukihiro Matsumoto) Date: 2003-11-24T09:20:03+09:00 Subject: Re: "wrong argument type nil (expected String)" from Dir.chdir Hi, In message ""wrong argument type nil (expected String)" from Dir.chdir" on 03/11/24, Tim Kynerd writes: |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? Can't reproduce. Could you give me more information? Your platform, and exact version of ruby interpreter (shown by ruby -v). matz.