Using the gem

Automatically vendors the latest version of batman.js for Rails 4 in your project. In the Gemfile for your project add gem "batman-rails".

After modifying your Gemfile:

Requires Rails 3.2+, and the rails asset pipeline provided by sprockets.

Sample project .zip

Includes a minified copy of batman.js and accompanying folder structure to get you building a batman project in no time.


Standalone [minified] batman.js file (50Kb, minified and gzipped).