Are you are running in cygwin?  I was running in dos just using ruby from
the one-click installer (which happens to use cygwin2.dll).

-----Original Message-----
From: chad fowler [mailto:chadfowler / yahoo.com]
Sent: Sunday, November 18, 2001 6:53 PM
To: ruby-talk ML
Subject: [ruby-talk:25814] Re: Ruby in windows



--- Chris Morris <chrismo / homemail.com> wrote:
> > This is what I get from command line:
> >
> > C:\>ruby -e'puts Dir.pwd'
> > /cygdrive/c
> >
> > C:\>ruby -e'puts `cmd.exe /c cd`'
> > C:\
> >
> > Shouldn't these agree?  Also I have no directory
> \cygdrive.
>
> cygwin is a compatibility layer that allows the
> unix-ish stuff of Ruby to
> run on Windows. So cygwin 'unix-izes' your drives by
> prefixing them with
> /cygdrive/, then the drive letter without a colon.
>

What version of Cygwin are you testing on?  On mine
(1.3.5-1), it looks like this:

$ ruby -e'puts Dir.pwd'
/home

Chad

__________________________________________________
Do You Yahoo!?
Find the one for you at Yahoo! Personals
http://personals.yahoo.com