mkocher/soloist — pull request #14 by coreyti (2012-11-15 21:20:08+00:00)
Title: Prune non-existent directories from cookbook_paths

This change fixes an erroneous Chef message which is printed if any one of the configured cookbook directories (including the default one prepended by soloist) does not exist:

FATAL: No cookbook found in ["/Users/username/path/cookbooks", "/Users/username/path/subdir/cookbooks"]

To clarify the example above:

1. soloistrc lists `subdir/cookbooks` as a cookbook path
2. the current directory does not contain a "cookbooks" dir

Note that this does introduce FakeFS into the specs for testing of directory existence without creating directories on the actual file system.