opscode/chef — pull request #184 by mrflip (2011-11-20 01:11:29+00:00)
Title: Patch for #CHEF-1902: rescue error when erubis error has no line number

If erubis isn't sure what line caused the error, then `line_number` is nil; this makes the rescue block fails with its own error and sadness follows confusion. Made `source_listing` dump all lines in this case -- it's probably an omitted 'end' or other full-template error