I am reading Michael Hartl’s Ruby On Rails Tutorial, and as customary with many programming tutorials he’s having me use command line commands such as
bundle install
rake db:migrate
I’m just wondering what type of commands these are. I’ve read a little bit on batch files, and from what I’ve read it seems like these would be the batch files I’ve read of.
On Windows you are actually executing batch files as windows does not have shebang support. For example the batch file for bundle is this:
If you check in wherever you’ve got Ruby installed and go into the bin directory you’ll see all the Ruby commands along with corresponding batch files to enable them to be executed without having to call ruby manually.