Sign in through GitHub

RailsCasts Pro episodes are now free!

Learn more or hide this

David Reese's Profile

GitHub User: whatcould


Comments by David Reese


If you're getting NoMethodError: undefined method[]' for nil:NilClass errors in the nginx compile:

Looks like as of Chef 11, you need to add depends 'nginx' to a metadata.rb file if you do an 'include_recipe'. (In this example, the medata.rb would be in the 'main' recipe directory.) See

This is not necessary if you just add the recipe to your runlist in the node.json file.