rails/rails — Issue #3667: "require_tree argument must be a directory" triggered on empty folder 
Author: smclelland
Created: 2011-11-17 18:08:41+00:00
State: open

If you use require_directory or require_tree and there are no files in the directory, the above errors is raised. Probably shouldn't throw an error saying that it isn't a directory.