What Does it do? ---------------- Compatible with Rails 3.0.x (Rails 3.1.x support is coming) backbonejs-rails is similar to jquery-rails. It adds the Javascript files that you need to create an application that uses backbone.js as a JavaScript MVC. This gem will get the most recent version of these files from their master branches on github. These are: * backbone.js * backbone.min.js * underscore.js * underscore.min.js * json2.js For templates I have included ICanHaz.js * icanhaz.js * icanhaz.min.js Upon installation the files are added to your javascript defaults so that you can still use the following in your views/layouts/application.html.erb file: <%= javascript_include_tag :defaults %> Installation ------------ The best way to install backbone-rails is by adding the following to your Gemfile: gem "jquery-rails" gem "backbonejs-rails" Then use Bundler to install: $ bundle install Usage ------- $ rails g jquery:install $ rails g backbonejs:install