File.exists? broken in svn

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

Ben C. 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/oniguruma/


Phillip “CynicalRyan” Gawlowski
http://cynicalryan.110mb.com/

Rule of Open-Source Programming #1:

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

Hi,

In message “Re: File.exists? broken in svn”
on Fri, 30 Mar 2007 07:10:08 +0900, Ben C.
[email protected] writes:

|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?

trunk does not have obsoleted exists? method, use exist? instead.

          matz.

Yukihiro M. wrote:

trunk does not have obsoleted exists? method, use exist? instead.

          matz.

OK, thanks for the info.

-Ben