Shopify/batman — pull request #423 by loginx (2012-05-14 15:29:39+00:00)
Title: Add a `build:rails` build option

This patch updates all the `require` compiler directives in the source files to make them compatible with the Rails asset pipeline. Basically, that involves replacing `require file` with `require ./file` for local relative paths, replacing a couple of `require`s with `require_tree`s, and fixing a missing dependency to `set_proxy` in `binary_set_operation`.

It also includes a `build:rails` cake directive that copies all the `.coffee` files into `.js.coffee` equivalents in the `lib/rails` directory.