[lnkForumImage]
TotalShareware - Download Free Software

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


 

Forums >

comp.lang.ruby

Re: Pathname bug on Windows box?

Berger, Daniel

4/4/2006 2:33:00 PM

> -----Original Message-----
> From: list-bounce@example.com
> [mailto:list-bounce@example.com] On Behalf Of Mirek Rusin
> Sent: Tuesday, April 04, 2006 3:03 AM
> To: ruby-talk ML
> Subject: Pathname bug on Windows box?
>
> --- test.rb ---
> require 'pathname'
> puts Pathname.new('.').realpath
> --- test.rb ---
>
> always produces:
>
> c:/ruby/lib/ruby/1.8/pathname.rb:341:in `lstat': Invalid
> argument - /c:
> (Errno::EINVAL)
> from c:/ruby/lib/ruby/1.8/pathname.rb:341:in `realpath'
> from test.rb:2
>
> any ideas? seems like Pathname doesn't support windows at all?

Use pathname2 instead:

C:\eclipse\workspace>pwd
C:\eclipse\workspace

C:\eclipse\workspace>irb
irb(main):001:0> require 'pathname2'
=> true
irb(main):002:0> Pathname.new('.').realpath
=> "C:\\eclipse\\workspace"

Regards,

Dan


22 Answers

Andrew B. Chung, MD/PhD

9/24/2008 8:03:00 PM

0

friend DOC wrote:
> Andrew, in the Holy Spirit, boldly wrote:
> > friend DOC wrote:
> >> satan via a sockpuppet (corporeal demon) despairingly posted::
> >>
> >> >
> >> >Since the christ never really actually lived on earth - there is no
> >> >point anyway.
> >>
> >>
> >> Yes, HE did.
> >
> > And, His tomb is empty :-)
> >
> > http://www.interviewwithgod.co...
> >
> > Jesus is risen!
> >
> > Jesus is LORD!
>
> Good post, Andrew...

GOD is good :-)

HE is our frame of reference for understanding what is good versus
what is evil.

Good is all that GOD wants :-)

> ... and may God bless you this glorious day.

Am praising our Father in heaven for your kind wish.

Laus Deo :-)

Indeed, GOD is blessing me at this very moment per your request ! ! !

> A PERFECT Fall day it is, too! :+D

As only GOD can make into a reality :-)

"Be perfect for your Father in heaven is perfect." -- LORD Jesus
Christ.

Amen.

<><

http://groups.google.com/group/sci.med.cardiology/msg/5ed9252...

Mark K. Bilbo

9/24/2008 10:28:00 PM

0

DOC wrote:
> On Tue, 23 Sep 2008 21:26:08 -0500, "Mark K. Bilbo"
> <gmail@com.mkbilbo> wrote:
>
>> Chunk's brain is empty...
>
> Perhaps according to you, but personally, I disagree.

Sure thing Chunkers...

--
Mark K. Bilbo a.a. #1423
EAC Department of Linguistic Subversion
------------------------------------------------------------
"You know, I'd get it if people were just looking for a
way to fill the holes. But they want the holes. They wanna
live in the holes. And they go nuts when someone else
pours dirt in their holes.

"Climb out of your holes people!"

- Dr. House, on faith

Mark K. Bilbo

9/24/2008 10:28:00 PM

0

DOC wrote:
> On Tue, 23 Sep 2008 21:26:29 -0500, "Mark K. Bilbo"
> <gmail@com.mkbilbo> wrote:
>
>> Andrew B. Chung, MD/PhD wrote:
>>> Nomen Publicus wrote:
>>>> friend DOC <NOSPAM@nospam> wrote:
>>>>> satan via a sockpuppet (corporeal demon) desparingly posted:
>>>>>
>>>>>> Since the christ never really actually lived on earth - there is no
>>>>>> point anyway.
>>>>> Yes, HE did.
>>>> Where is the contemporary evidence, undistorted by human hands?
>>> The fact that I am totally insane renders my babble pointless.
>> Yep.
>
> That's not wha

But, instead, do-wha...

--
Mark K. Bilbo a.a. #1423
EAC Department of Linguistic Subversion
------------------------------------------------------------
"You know, I'd get it if people were just looking for a
way to fill the holes. But they want the holes. They wanna
live in the holes. And they go nuts when someone else
pours dirt in their holes.

"Climb out of your holes people!"

- Dr. House, on faith

walksalone

9/25/2008 1:21:00 PM

0

john w <john w<no>@yahoo<no>.com>
news:6nuld4lnljmrj8cns1nha140hni2p45m5q@4ax.com

From: john w <john w<no>@yahoo<no>.com>
Newsgroups:
sci.med.cardiology,alt.christnet.christianlife,alt.christnet.theology,alt
..atheism,alt.religion.christian.baptist
Subject: Re: Think WDJW <><
Date: Wed, 24 Sep 2008 19:45:56 -0700
Message-ID: <6nuld4lnljmrj8cns1nha140hni2p45m5q@4ax.com>
References: <a307d4l8174sikan9fbka92eifh7gki57l@4ax.com> <f374149e-cecb-
4780-8f2c-76d6fca4cd95@73g2000hsx.googlegroups.com>
<pic7d4hnohbhnuf20jiib7nqo9p4rilquq@4ax.com> <66c03cfa-9039-4f3f-a99d-
c271c2fe4ceb@8g2000hse.googlegroups.com>
<v1p7d41pk2segej48k3abu96qgdp7bta1h@4ax.com> <54eab96c-de18-4bbd-a1f9-
f6afdedc74c6@73g2000hsx.googlegroups.com>
<8jeed49qqgftfl9rceretiue4n1f6ev6jr@4ax.com>
<k2efd45cv30ihq4ot6pjatvabe4qfqpjnf@4ax.com> <48d7d855$0$4897
$607ed4bc@cv.net>
X-Newsreader: Forte Agent 2.0/32.652
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Lines: 58
Organization: Qwest Communications Corporation
NNTP-Posting-Host: 4e955dfb.news.qwest.net
X-Trace: DXC=6E^M9h:goJZ^F8M55U1L;TF85SKJoGf>T7jHbTaebFXWgRiX5Ran0@[SkXT
\\;jgJZ3o<SQQiQGTS=<1i`aFZHb\9DJoj]_^UnX
X-Complaints-To: news@qwest.net


> x-no-archive: yes
> On Mon, 22 Sep 2008 13:38:38 -0400, Thommadura
> <tommadura@optonline.net> wrote:
>>DOC wrote:
>>> On Sun, 21 Sep 2008 23:26:52 -0700, john w <john w<no>@yahoo<no>.com>
>>> wrote:
`jw attn ho slut`

Do you recall I stated I tire of playing with your excuse of a mind?

Due to your inability to pay attention, or remember, the three ways you
were given to avoid seeing
our names in the same message.

Attention ho <TWHACK> <reholsters rubber chicken>
Oh, lest I forget, TwHACK

Ain't cut & paste time saving though, & as well as being more than your
posts are worth. And it means I don't have to waste the time thinking up
something novel to flatter your delicate ego.

walksalone

9/25/2008 1:22:00 PM

0

john w <john w<no>@yahoo<no>.com> news:eruld45f8kdekmrb7qc15d0cniio1j50f3@
4ax.com

> x-no-archive: yes
> On Tue, 23 Sep 2008 12:20:51 -0400, DOC <NOSPAM@nospam> wrote:
> ? 2008 John D Weatherly all rights reserved; no portion of this post
> may be used anywhere else without written permission of the author.
>>On Mon, 22 Sep 2008 13:38:38 -0400, Thommadura
>><tommadura@optonline.net> wrote:

`jw attn ho slut`

Do you recall I stated I tire of playing with your excuse of a mind?

Due to your inability to pay attention, or remember, the three ways you
were given to avoid seeing
our names in the same message.

Attention ho <TWHACK> <reholsters rubber chicken>
Oh, lest I forget, TwHACK

Ain't cut & paste time saving though, & as well as being more than your
posts are worth. And it means I don't have to waste the time thinking up
something novel to flatter your delicate ego.


Andrew B. Chung, MD/PhD

9/27/2008 9:33:00 AM

0

convicted neighbor john w wrote:
> satan via a sockpuppet (corporeal demon) despairingly posted:
> > friend DOC wrote:
> >> convicted neighbor john w <john w<no>@yahoo<no>.com> wrote:
> >>
> >>> You then just called Jesus a liar! Jesus called the Pharisees a
> >>> number of things; not one of them was nice.
> >>>
> >> Nevertheless, short bus johnnie, Jesus never used profanities as you
> >> falsely claim He did.
> >
> >Since the christ never really actually lived on earth - there is no
> >point anyway.
>
> You make claims ("the christ never really ... lived ...")
> you cannot back up.
> This is the simple truth: You make statements you have no PERSONAL
> knowledge of. You therefore are taking the word of others who have not
> proved themselves any more reliable or knowledgeable than you.
>
> tsk tsk
>
> IOW, you LIE.

Lying is his native language:

http://groups.google.com/group/sci.med.cardiology/msg/e17dea9...

This is why it remains wiser to simply rebuke him and move on:

http://groups.google.com/group/sci.med.cardiology/msg/31c3b88...

May you and other dear neighbors, friends, and brethren have a
blessedly wonderful 2008th year since the birth of our LORD Jesus
Christ as our Messiah, the Son of Man ...

.... by being hungrier:

http://groups.google.com/group/sci.med.cardiology/msg/f891e61...

Hunger is wonderful ! ! !

It's how we know the answer to the question "What does Jesus
want?" (WDJW):

http://groups.google.com/group/sci.med.cardiology/msg/f43db72...

Yes, hunger is our knowledge of good versus evil that Adam and Eve
paid for with their and our immortal lives:

http://groups.google.com/group/sci.med.cardiology/msg/52a3db8...

"Blessed are you who hunger NOW...

.... for you will be satisfied." -- LORD Jesus Christ (Luke 6:21)

Amen.

Here is a Spirit-guided exegesis of Luke 6:21 given in hopes of
promoting much greater understanding:

http://groups.google.com/group/sci.med.cardiology/msg/cc2aa8f...

Be hungrier, which is truly healthier:

http://groups.google.com/group/sci.med.cardiology/msg/991d4e3...

Marana tha

Prayerfully in the awesome name of our Messiah, LORD Jesus Christ,

Andrew <><
--
http://groups.google.com/group/sci.med.cardiology/msg/5ed9252...

Virgil

9/27/2008 6:01:00 PM

0

In article
<0b1d0ee8-f9f8-4b13-87af-2a9e86493842@d45g2000hsc.googlegroups.com>,
"Andrew B. Chung, MD/PhD" <love30@thetruth.com> wrote:


> > >
> > >Since the christ never really actually lived on earth - there is no
> > >point anyway.
> >
> > You make claims ("the christ never really ... lived ...")
> > you cannot back up.

No one can back up, with anything but pure faith, the counterclaim that
any christ ever did live.

> > This is the simple truth: You make statements you have no PERSONAL
> > knowledge of. You therefore are taking the word of others who have not
> > proved themselves any more reliable or knowledgeable than you.

Precisely why the existence of a christ cannot be settled either way.

Andrew B. Chung, MD/PhD

9/27/2008 7:38:00 PM

0

http://groups.google.com/group/sci.med.cardiology/msg/31c3b88...

<><

May dear neighbors, friends, and brethren have a blessedly wonderful
2008th year since the birth of our LORD Jesus Christ as our Messiah,
the Son of Man ...

.... by being hungrier:

http://groups.google.com/group/sci.med.cardiology/msg/f891e61...

Hunger is wonderful ! ! !

It's how we know the answer to the question "What does Jesus
want?" (WDJW):

http://groups.google.com/group/sci.med.cardiology/msg/f43db72...

Yes, hunger is our knowledge of good versus evil that Adam and Eve
paid for with their and our immortal lives:

http://groups.google.com/group/sci.med.cardiology/msg/52a3db8...

"Blessed are you who hunger NOW...

.... for you will be satisfied." -- LORD Jesus Christ (Luke 6:21)

Amen.

Here is a Spirit-guided exegesis of Luke 6:21 given in hopes of
promoting much greater understanding:

http://groups.google.com/group/sci.med.cardiology/msg/cc2aa8f...

Be hungrier, which is truly healthier:

http://groups.google.com/group/sci.med.cardiology/msg/991d4e3...

Marana tha

Prayerfully in the awesome name of our Messiah, LORD Jesus Christ,

Andrew <><
--
http://groups.google.com/group/sci.med.cardiology/msg/5ed9252...

ThomMadura

9/27/2008 8:03:00 PM

0

Virgil wrote:
> In article
> <0b1d0ee8-f9f8-4b13-87af-2a9e86493842@d45g2000hsc.googlegroups.com>,
> "Andrew B. Chung, MD/PhD" <love30@thetruth.com> wrote:
>
>
>>>> Since the christ never really actually lived on earth - there is no
>>>> point anyway.
>>> You make claims ("the christ never really ... lived ...")
>>> you cannot back up.
>
> No one can back up, with anything but pure faith, the counterclaim that
> any christ ever did live.
>
>>> This is the simple truth: You make statements you have no PERSONAL
>>> knowledge of. You therefore are taking the word of others who have not
>>> proved themselves any more reliable or knowledgeable than you.
>
> Precisely why the existence of a christ cannot be settled either way.

Actually - it is up to the people making the assertion to support their
claim with evidence.

Andrew B. Chung, MD/PhD

9/27/2008 8:22:00 PM

0

satan via a sockpuppet (corporeal demon) despairingly posted:
>
> Actually - it is up to the people making the assertion to support their
> claim with evidence.

That has been done with the irrefutable fact that you are unable to
publicly say "Jesus is LORD" because you have unwisely blasphemed
against the Holy Spirit.

May we, who are Jesus' disciples (either Jew or gentile), continue to
rebuke you at each GOD-given opportunity as GOD desires:

http://groups.google.com/group/sci.med.cardiology/msg/31c3b88...

<><

May dear neighbors, friends, and brethren have a blessedly wonderful
2008th year since the birth of our LORD Jesus Christ as our Messiah,
the Son of Man ...

.... by being hungrier:

http://groups.google.com/group/sci.med.cardiology/msg/f891e61...

Hunger is wonderful ! ! !

It's how we know the answer to the question "What does Jesus
want?" (WDJW):

http://groups.google.com/group/sci.med.cardiology/msg/f43db72...

Yes, hunger is our knowledge of good versus evil that Adam and Eve
paid for with their and our immortal lives:

http://groups.google.com/group/sci.med.cardiology/msg/52a3db8...

"Blessed are you who hunger NOW...

.... for you will be satisfied." -- LORD Jesus Christ (Luke 6:21)

Amen.

Here is a Spirit-guided exegesis of Luke 6:21 given in hopes of
promoting much greater understanding:

http://groups.google.com/group/sci.med.cardiology/msg/cc2aa8f...

Be hungrier, which is truly healthier:

http://groups.google.com/group/sci.med.cardiology/msg/991d4e3...

Marana tha

Prayerfully in the awesome name of our Messiah, LORD Jesus Christ,

Andrew <><
--
"... no one can say 'Jesus is LORD' except by the Holy Spirit." (1 Cor
12:3)

http://groups.google.com/group/sci.med.cardiology/msg/5ed9252...