Open
Description
Not all Rails apps have an application.js
file. Some might have application.js.coffee
, others may use a different top-level javascript file. The install generator can't handle these edge cases.
Perhaps if application.js
can't be found instructions on what to do in your top-level javascript file could be printed.
Something like:
Unable to find application.js. You'll have to manually require the following files in your top-level javascript file.
//= require underscore
//= require backbone
//= require backbone_rails_sync
//= require backbone_datalink
//= require backbone/words