raulsouzalima / rails3_template

A template for a Rails 3 application

Home Page:http://www.diegocarrion.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

A template for a Rails 3 application

http://www.diegocarrion.com


Languages

Language:Ruby 99.0%Language:Shell 1.0%