alias rake/ruby commands in windows?
|
|
How can I alias or create shortcuts for rake/ruby commands in Windows? I find myself typing ruby script/server, ruby script/console over and over again. Any suggestions would be appreciated. Thanks, John |
|
|
John, Here’s one approach. Create a directory called c:\dev (or whatever) and put it into your PATH. Then create batch files in there that run your script/server, or script/console, etc. Let’s say you named the one that starts the server If you need more details on how to create the batch files, just let me know. |
|
|
Hi Jeff, That’s great. Straightforward and makes sense. Best, John |