Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID

Categories

We have migrated to a new platform! Please note that you will need to reset your password to log in (your credentials are still in-tact though). Please contact lee@programmersheaven.com if you have questions.
Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

I need help with DOS commands.

midarkmindmidarkmind Posts: 1Member
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?

Comments

Sign In or Register to comment.