Skip to content

Sprockets require_tree #525

@MarioRicalde

Description

@MarioRicalde

I think it's a sprocket "bug"; but just to be sure I'm going to post it here since I know someone else will find it at some point:

I made a sub-file on app/assets/javascripts; in that sub-file I wanted to include all the files in libs relative sub-directory. Like many applications I just wrote libs as a path, which is the short representation of a relative path, but that didn't work saying it's not a relative path, so I had to write it ./libs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions