Installation (Rails 3)
Bash$ gem install bristle
*bristle:dependency Backbone has dependencies, this generator downloads those files
*bristle:setup Add your backbone initializers
*bristle:scaffold Like rails, this generator build at a minimum the MVC files you need to get started.
Bash$ rails generate | grep bristle
should produce the following generators...
bristle:dependency bristle:scaffold bristle:setup
1. Paste the following in your Application Layout File. Remember to change RAILS_APP_NAME to something else. Same with FOO_router.
2. Run either first.
Bash$ rails g bristle:dependency
Bash$ rails g bristle:setup
3. Generate the files you need as you go. You can include a model name or the generator will default to Bristle with or with --coffee flag.
Bash$ rails g bristle:scaffold MODEL_NAME
This gem isn't fully baked yet.