You don't have to be Gandolf to ride Shadowfax, a Rails starter template.
This template is a derivative of:
rails new blog \
-d postgresql \
-m https://raw.githubusercontent.com/heyogrady/shadowfax/master/template.rb
- Generate application files and directories
- Ensure bundler is installed
- Created databases
- Commit everything to git
- Push the branch if you specified a remote repository