MS-DOS

Moderators: blip
Number of threads: 389
Number of posts: 904

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
I need help with DOS commands. Posted by midarkmind on 3 Jul 2011 at 8:52 AM
Hello, I am in need of some assistance with trying to get my fist ruby program to run. I am reading the book "Learn to program by chris pine" and he seems to be using a different DOS version them me. I think hes on a mac or using an XP version. His says version is "Microsoft Windows XP [Version 5.1.2600] 1985-2001 Microsoft Corp. I am running windows 7, my version is 6.1.7601 2009. Anyways the commands that he is telling me are not adding up. I tried the ruby -v to see if ruby was installed and the error I got was that it was not recognized in dos as an internal or external command? When I tried to go to the programs folder dos says it can't find it. When I saved my calc.rb file and tried to run it with ruby calc.rb DOS didn't recognize the command ether. I was in the correct directory. What could be the issue?
Report
Re: I need help with DOS commands. Posted by pineapple on 28 Dec 2012 at 11:12 PM
Installing ruby on a PC is a huge pain (which is why I have a mac :)

But I heard this is good: http://rubyinstaller.org/
Report
Re: I need help with DOS commands. Posted by pineapple on 28 Dec 2012 at 11:14 PM
Installing ruby on a PC is a huge pain (which is why I have a mac :)

But I heard this is good: http://rubyinstaller.org/



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.