applicationsonline/librarian — Issue #32: Stumped with error
Author: patcon
Created: 2011-12-12 18:45:01+00:00
State: open

I wish I could give more on this without giving my whole repo, but I think it somehow has something to do with the cookbooks themselves... I've gone back and forth between two chef-repos that I'm using librarian for, and the only diff in the `knife.rb` is the name of the organization on opscode platform (and the fact that there's a comment on the first line in the working one).

Any thoughts on how to troubleshoot this better? For now, I'll just hardcode `cookbooks` and remove the `require`.

```
ERROR: You have an error in your config file /Users/homebase/new-chef-repo/.chef/knife.rb
NoMethodError: undefined method `to_str' for nil:NilClass
/Users/homebase/new-chef-repo/.chef/knife.rb:1:in `from_file'

# /Users/homebase/new-chef-repo/.chef/knife.rb
1: require 'librarian/chef/integration/knife'
2:
3: current_dir = File.dirname(__FILE__)
4:
```