Read the Gemfile to understand everything this template installs and pre-configures for you.
One of gems, Johnson, still has some issues compiling under Ruby 1.9.2 so you will need to use Ruby 1.8.7 instead.
This template is heavily dependent on wget so, if you’re using a Mac, you will need to install it first. The recommended way is to install Homebrew first and then:
brew install wget
Since Github started forcing SSL in all its URLs, we need to download the template file separately:
wget --no-check-certificate https://github.com/dcrec1/rails3_template/raw/master/main.rb -O /tmp/rails3_template.rb
Then whenever you want to create a new project, just do:
rails new app_name -T -m /tmp/rails3_template.rb
Change app_name for your project name. You can configure what you need and run rake db:migrate to get started.