git init
Creates a new git repository in the directory
git add <file name>
Adds a specific file to staging
git add .
orgit add -A
Adds the full directory and its contents to staging
Run rails new --help
to view all of the options you can pass to rails new
:
$ bin/rails new --help
Usage:
rails new APP_PATH [options]
Options:
-r, [--ruby=PATH] # Path to the Ruby binary of your choice
# Default: /Users/eliot/.rbenv/versions/2.2.0/bin/ruby