`File.expand_path('../..', __FILE__)` maybe?