correctly default :path to Rails.root when running recent Rails