On 3/3/07, Daniel DeLorme <dan-ml / dan42.com> wrote:
> Olivier Renaud wrote:
> > You have to use the File.expand_path to do this :
> >
> > File.expand_path(__FILE__)
> > File.dirname(File.expand_path(__FILE__))
>
> Or:
> File.expand_path(__FILE__+'/..')
>
> ;-)
>
> Daniel

Or even:

  File.expand_path('..', __FILE__)

Oh, the choices!

George.