Getting the root directory of a chef solo run

What is the best way to get the root directory of a chef solo run? I
have been using File.expand_path(File.dirname(FILE) + "/…/…/…/"
type things but there must be a cleaner way to deal with that.