Rails new app from template with mongoid. $ rails new path/to/app_name -O -T -B -m https://gist.github.com/iyra/6696597/raw/template.rb