Click your Windows Start button, then select Programs, then Accessories, then Command Prompt. Or click the Start button, select Run, type in 'cmd' and click OK. If you're not very familiar with the Windows command prompt, I recommend this brief but informative overview.
Sunday, May 13, 2007
Subscribe to:
Post Comments (Atom)
4 comments:
Would you happen to know how to access a command prompt using Ruby? I am looking to make a script that will open up cmd.exe and then ruby ruby script/server from a specified path.
If you got any ideas, that would be a great post.
Thanks,
Jeremy
You can use the system method to run a shell command...
system('ruby c:/my_rails_app/script/server')
Add a send-to shortcut which links to the commmand "cmd /k".
Jobs a gudden...
I find this really useful working with ruby scripts.
I am just getting started with this stuff, can anyone explain to me how to enter the ruby code exactly? I have ruby downloaded, how do I get into it exactly? I can get into the shell prompt, or whatever it's called, but how do I access the ruby language exactly?
Post a Comment