[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Dir.getwd returning empty string on Windows

Matt Mower

1/9/2005 11:46:00 AM

I'm using 1-click final on Windows XP-SP1.

I'm seeing Dir.getwd() returning the empty string on my system.
Specifying a directory in directory operations does work, e.g.
Dir.foreach( "c:\\" )

Does anyone else on Windows see such a problem?

Regards,

Matt

--
Matt Mower :: http://matt...


2 Answers

djberg96

1/10/2005 7:45:00 AM

0

I cannot duplicate this. Do you have a code sample?

Dan

Matt Mower

1/11/2005 10:16:00 AM

0

Hi Daniel,

On Mon, 10 Jan 2005 16:46:22 +0900, Daniel Berger <djberg96@hotmail.com> wrote:
> I cannot duplicate this. Do you have a code sample?
>

The code sample was as simple as opening irb and typing "Dir.getwd" it
would return an empty string. However I can't reproduce it myself
now... odd.

Guess i'll report it again if I figure out how to reproduce it.

Thanks anyway.

M

--
Matt Mower :: http://matt...