From: Dirk Meijer Date: 2005-09-12T02:49:00+09:00 Subject: Re: newbie mysteries ------=_Part_2574_29575142.1126460937264 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline i found a way around it by creating a bat file (my first actual useful=20 batfile :P) like this: @echo off cd c:\ruby\ doskey rdoc=3Dc:\ruby\bin\rdoc.bat $* doskey rails=3Dc:\ruby\bin\rails.cmd $* doskey irb=3Dc:\ruby\bin\irb.bat $* doskey gem=3Dc:\ruby\bin\gem.cmd $* doskey fxri=3Dc:\ruby\bin\fxri.cmd $* doskey rubyw=3Dc:\ruby\bin\rubyw.exe $* doskey ruby=3Dc:\ruby\bin\ruby.exe $* doskey freeride=3Dc:\ruby\freeride\freeride.rb $* doskey scite=3Dc:\ruby\scite\scite.exe $* so i could run all my stuff just by typing in the commands. also, in the registry, you could change=20 "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor\AutoRun" to run th= e=20 bat file when cmd.exe is executed, so you don't have to open it yourself=20 every time. i can't believe i've actually programmed something useful.. i feel so smart= =20 :P =20 2005/9/11, Wayne Vucenic :=20 >=20 > As Nicholas said, this does sound like a path problem. Typing "path" at a > command prompt will show your path: > C:\>path > PATH=3Dc:\ruby\bin;C:\WINDOWS\system32;C:\WINDOWS; > c:\ruby\bin should appear somewhere in the path (not necessarily as the > first item), if you installed Ruby in the usual c:\Ruby location. > You can also look in your c:\ruby\bin directory, to see that it contains > ruby.exe, > but I can't imagine why it wouldn't be there. > What happens when you try to run ruby from the command prompt? > Wayne Vucenic > No Bugs Software > Ruby and C++ Agile Contract Programming in Silicon Valley >=20 > ------=_Part_2574_29575142.1126460937264--