Bob Nadler, Jr. Logo

Spellbook: Rails 3 Application Generator

Spellbook is a Rails 3 application generator that aims to make the tedious parts of setting up a new Rails app trivial. You define various settings in YAML and Spellbook runs through each of them prompting you for your choice. After all your choices have been made Spellbook executes the 'pre_bundle' code for each one, runs 'bundle install' and then runs any 'post_bundle' code.

It's just a single file gist so you can easily tweak it for your needs.

Edit: For those that do not know how to run this with the 'rails' command, you pass the '-m' option with the path to this file. For example, I have this in my bashrc:

function rspell {
  rails new $1 -m ~/dev/spellbook/spellbook.rb $@
}


Email list
Image by husin.sani

No spam, ever. Unsubscribe at any time.