Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to add an exception to the require_tree in a manifest file?

Tags:

Is there a way you can include all files in a directory except one, or all directories except one? So something like:

require_tree . :except 'this_one'

Just wondering and can't figure out where the documentation is on the "require_tree" method in the manifest file.

like image 913
Tom Rossi Avatar asked Feb 28 '13 14:02

Tom Rossi


Video Answer


1 Answers

Instead of

require_tree . :except 'this_one'

write

require_tree "."

stub "this_one"

like image 102
Awijeet Avatar answered Oct 12 '22 12:10

Awijeet