require_tree . :except 'this_one'
只是想知道,无法确定文档在清单文件中的“require_tree”方法的位置.
//= require_tree "." exclude: "file1","file2"
看到这个线程:Rails 3.1 Sprockets require directives – is there a way to exclude particular files?.从来没有尝试过.