Ruby in DOS CLI, How to do?

Posted by Daniel on Stack Overflow See other posts from Stack Overflow or by Daniel
Published on 2010-04-05T15:36:53Z Indexed on 2010/04/05 15:43 UTC
Read the original article Hit count: 327

Filed under:
|
|
|

I see in a lot of the tutorials and how to pages, they use the following, or something similar

ruby C:\test.rb

Which would parse test.rb to the interpreter and ... execute the script. But how is this done a on a windows? Ruby isn't a recognized internal command (as per the DOS output)?

I know how to do all these things on Linux, and its as simple as... alas Windows is completely confusing at times :)

© Stack Overflow or respective owner

Related posts about dos

Related posts about cli