Skip to content

Not all apps have an application.js #33

Open
@jcf

Description

@jcf

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions