SproutCore 2.0 for Rails 3.1.
Add the gem to your application Gemfile:
bundle install and add the following line to
//= require sproutcore
Ask Rails to serve HandlebarsJS templates to SproutCore
by putting each template in a dedicated ".js.hjs" file
and including the assets in your layout:
Bundle all templates together thanks to Sprockets,
//= require_tree .
Now a single line in the layout loads everything:
Copyright (C) 2012 Kisko Labs Oy
Licensed under the MIT License. See the LICENSE file for details.