From: xdblade@... (Xeon) Date: 2004-07-15T03:17:19+09:00 Subject: Re: Newbie: Problem with irb "Mehr, Assaph (Assaph)" wrote in message news:<338366A6D2E2CA4C9DAEAE652E12A1DE019B72F8@au3010avexu1.global.avaya.com>... > > C:\RUBY\BIN\RUBY.EXE No such file or directory -- irb (LoadError) > > C:\RUBY\BIN\RUBY.EXE No such file or directory -- erb (LoadError) > > C:\RUBY\BIN\RUBY.EXE No such file or directory -- rdoc (LoadError) > > Check the header for C:\RUBY\BIN\IRB.BAT (or erb or rdoc .bat files). > Should look like: > > @echo off > "C:\ruby\bin\ruby.exe" "C:\ruby\bin\irb" %1 %2 %3 %4 %5 %6 %7 %8 %9 the actual top lines are ruby -Sx "%0" %1 %2 %3 %4 %5 %6 %7 %8 %9 for win9x, and ruby -Sx "%~nx0" %* for win nt, then some codes at the bottom. I don't understand what "%0" or "%~nx0" actualy do. Care to explain? As for "C:\ruby\bin\ruby.exe" from your snippet, I think the OS should find it cause it's in the search path without specifying the absolute path. TIA