Could you add some parenthesis here? I find ruby's optional parenthesis really disturbing in cases like this. Also, I think ruby emits warnings.
Also, if you're using file.join, use it altogether: ``File.join(options[:root], 'config', 'discover-unused-partials.yml')```