---
title: "取得rails应用的根路径"
author: "arthurln"
date: "2007-06-12T20:23:02Z"
tags: []
slug: "rails"
draft: false
lastmod: "2009-02-24T21:40:42Z"
id: 89536
url: "https://arthurln.iteye.com/blog/89536"
---

File.expand\_path(RAILS\_ROOT)