Sprockets require_tree #525

Closed
MarioRicalde opened this Issue May 12, 2011 · 1 comment

Projects

None yet

2 participants

@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.

@josh
Member
josh commented May 12, 2011

The leading ./ is required for relative paths. Just libs means from the load path.

@josh josh closed this May 12, 2011
@jake3030 jake3030 pushed a commit to jake3030/rails that referenced this issue Jun 28, 2011
@dhh dhh Fixed that ActiveResource#post would post an empty string when it sho…
…uldn't be posting anything (Paolo Angelini) [#525 state:committed]
dffc2e2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment