This is the Rails template I use to facilitate the quick setup of new Rails applications
- Sets up RVM with your choice of Ruby and gemset
- Removes Rails default files (index.html, rails.png)
- Removes timestamps from migrations
- Sets up a Git Repo
- Integrates Twitter Bootstrap
- Integrates parts of the HTML5Boilerplate
- Adds Thin, Devise, CanCan, FriendlyId, Paperclip, Debugger and Minitest to Gemfile
- Sets up Test environment using MiniTest (use
rake test
to run your tests) - Sets up Devise and CanCan, and generates a User model
- Sets up Paperclip and adds Avatar to User
- Sets up FriendlyId and adds slug on username
- Adds bootstrap themed alerts and form error message partials
- Generates welcome controller with root route set to index action
RVM with at least one Ruby installed.
Clone the repository using
git clone git://github.com/damireh/rails3-template.git
Create a new Rails application as normal, specifying the path to the template script with the -m flag
rails new appname -m rails3-template/template.rb
Based on greendog99's rails template