Shouldn't this be something like:

```ruby
candidate_directory = File.join(file.expand_path, '.chef')
if File.exist?(candidate_directory) && File.directory?(candidate_directory)
  possibles << File.join(candidate_directory, 'knife.rb')
end
```