From: Jam Bees Date: 2012-11-04T12:31:54+09:00 Subject: Re: command prompt problem with windows 7 The file argv.rb does not exist in the directory you're running ruby from. cd into the directory that argv.rb exists in , execute from there, all will be well. On 3 Nov 2012, at 20:34, Al Baker wrote: >> Are you really sure that the file `argv.rb' is in your current >> working directory? >> >> Does it show up when you enter `dir' at the prompt? >> >>> I've done the "Add C:\ruby\bin" >>> trick and restarted, but it doesn't seem to work! ANY IDEAS WOULD BE >>> GREAT! >> >> It couldn't make a difference: the error message is issued by ruby, >> so apparently there is no problem with locating the ruby interpreter. >> >>> Attachments: >>> http://www.ruby-forum.com/attachment/7846/Untitled-1.jpg >> >> Please simply include the command (`ruby argv.rb') and the >> error message in the email itself. > > here's what i get every time i try his. thanks again! > > C:\Users\Al Baker>ruby argv.rb > ruby: No such file or directory -- argv.rb (LoadError) > > C:\Users\Al Baker>dir > Volume in drive C is TI106034W0C > Volume Serial Number is 0296-87A6 > > Directory of C:\Users\Al Baker > > 10/31/2012 09:18 PM . > 10/31/2012 09:18 PM .. > 09/23/2009 05:19 PM Adobe Photoshop CS 8.0 > 07/12/2012 11:37 PM Contacts > 10/31/2012 02:57 AM Desktop > 10/29/2012 05:38 PM Documents > 11/03/2012 07:56 PM Downloads > 11/02/2012 02:57 AM Dropbox > 07/12/2012 11:37 PM Favorites > 09/18/2012 07:09 PM Links > 08/30/2012 12:06 AM Music > 11/02/2012 02:47 AM Pictures > 05/16/2012 09:21 PM 65,972 PKQUARTZ full.sgm > 07/12/2012 11:37 PM Saved Games > 07/12/2012 11:37 PM Searches > 07/26/2012 12:13 PM temp > 11/05/2011 06:53 PM TOOLS > 08/16/2012 02:55 PM Videos > 10/25/2012 01:48 AM Virtual Machines > 1 File(s) 65,972 bytes > 18 Dir(s) 44,418,449,408 bytes free > > -- > Posted via http://www.ruby-forum.com/. >