tag:blogger.com,1999:blog-284600789737488130.post9100806961469625259..comments2024-02-07T02:22:20.642-05:00Comments on Ruby on Windows: FAQ: How do I get to a command prompt?David Mullethttp://www.blogger.com/profile/05597492688893461137noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-284600789737488130.post-49389115997363684782007-09-29T23:53:00.000-05:002007-09-29T23:53:00.000-05:00I am just getting started with this stuff, can any...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?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-284600789737488130.post-79776119469601536812007-09-19T07:46:00.000-05:002007-09-19T07:46:00.000-05:00Add a send-to shortcut which links to the commmand...Add a send-to shortcut which links to the commmand "cmd /k".<BR/><BR/>Jobs a gudden...<BR/><BR/>I find this really useful working with ruby scripts.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-284600789737488130.post-15093843440935347422007-05-23T20:28:00.000-05:002007-05-23T20:28:00.000-05:00You can use the system method to run a shell comma...You can use the <B>system</B> method to run a shell command...<BR/><BR/>system('ruby c:/my_rails_app/script/server')David Mullethttps://www.blogger.com/profile/05597492688893461137noreply@blogger.comtag:blogger.com,1999:blog-284600789737488130.post-30569077295360026482007-05-23T00:56:00.000-05:002007-05-23T00:56:00.000-05:00Would you happen to know how to access a command p...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. <BR/>If you got any ideas, that would be a great post. <BR/><BR/>Thanks,<BR/><BR/>JeremyJeremy Woertinkhttps://www.blogger.com/profile/10053945634106101288noreply@blogger.com