It doesn't actually depend on rails, just railties

This allows an application not to download the activerecord and arel gems for instance, if they don't use such ORM. As long as the application itself doesn't depend on the rails gem but railties instead.

I've actually tested this locally in my own application since I use Sequel as the ORM solution.

The only gem I depend on that still depends on rails is js-routes. Please consider applying this patch.