aeonscope / rails_setup_template

A template for bootstrapping new or existing Ruby on Rails projects.

This URL has Read+Write access

name age message
file CHANGELOG.rdoc Loading commit data...
file LICENSE.rdoc Tue Sep 29 07:00:55 -0700 2009 Initial commit. [aeonscope]
file README.rdoc
directory rails/
file template.rb
README.rdoc

Overview

This template bootstraps a Ruby on Rails project beyond what you get with default project generation (i.e. rails <project name>). This template can be applied to a fresh or existing Ruby on Rails application. That said, it might be best if you apply this template to a fresh setup since some original files are overwritten and/or deleted.

Features

The following highlights the changes that will be made to your Ruby on Rails app:

License

Copyright © 2009 Brooke Kuhlmann of Berserk Technologies. See the included LICENSE for more info.

History

See the CHANGELOG file for more info.

Requirements

  • MacOS/UNIX (might work on Windows but haven’t tested).
  • Ruby Gems 1.3.x or higher.
  • Applied the Ruby Gem Setup script or have at least installed all gems listed above.

Usage

Open a terminal window and execute one the following command lines depending on your version preference:

Current Version (stable)

  rails demo -m http://github.com/aeonscope/rails_setup_template/raw/v1.0.0/template.rb

Master Version (possible unstable, use at your own risk)

  rails demo -m http://github.com/aeonscope/rails_setup_template/raw/master/template.rb

Notes

It is recommended that you move the following gem requirements from the config/environment.rb to the config/environments/test.rb file after running the template:

  • rspec
  • rspec-rails
  • cucumber
  • webrat
  • metric_fu

…and move the following gem requirement from the config/environment.rb to the config/environments/development.rb:

  • railroad

To generate Railroad diagrams, view the related Rake tasks via the following command:

  rake -T | grep diagram

Issues

  • Railroad - For Rails 2.3.x, generating controller diagrams will fail due to a Railroad ApplicationController bug.

Contact/Feedback/Issues