uses Pathname class to determine cookbook dir