[lnkForumImage]
TotalShareware - Download Free Software

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


 

Forums >

comp.lang.ruby

File.exists? broken in svn

Ben Crowell

3/29/2007 10:07:00 PM

The following one-liner works with release versions of ruby, but
fails in the current version from svn:
ruby -e 'print File.exists?("a.a")'
This isn't intentional, is it?

I'm just trying to get a running copy of ruby with the fancier
regexes that 1.9 has. I'm running Linux. Should I be trying the
stable snapshot? I think it's also possible to compile 1.8 with
the newer regexes, but I'm not sure how to do that on Linux. (On
FreeBSD, the port asks you specifically if you want to do that.)

TIA!

-Ben
1 Answer

Phillip Gawlowski

3/29/2007 11:55:00 PM

0

Ben Crowell wrote:

> I'm just trying to get a running copy of ruby with the fancier
> regexes that 1.9 has. I'm running Linux. Should I be trying the
> stable snapshot? I think it's also possible to compile 1.8 with
> the newer regexes, but I'm not sure how to do that on Linux. (On
> FreeBSD, the port asks you specifically if you want to do that.)

http://rubyforge.org/projects/...

--
Phillip "CynicalRyan" Gawlowski
http://cynicalryan....

Rule of Open-Source Programming #1:

Don't whine unless you are going to implement it yourself.