Absolute paths in $"

Any chance Ruby 1.8.5 will have absolute paths in $" instead of
relative ones? I know that’s planned for 2.0 but I sure could use it
now.

T.

Hi,

In message “Re: Absolute paths in $”"
on Fri, 16 Jun 2006 03:17:19 +0900, [email protected] writes:

|Any chance Ruby 1.8.5 will have absolute paths in $" instead of
|relative ones? I know that’s planned for 2.0 but I sure could use it
|now.

I’m afraid it’s too big change for 1.8 which is under stable mode.
Any opinion?

						matz.

I’m a firm believer on maintaining stability and allowing code to run
the same in tomorrow’s release as it did in yesterday’s (simply: 1.8.5
should not function different from 1.8.4 or any prior/future versions
of that stable branch).

With that being said, if any major changes are going to be made, just
stick it in 1.9, yay :slight_smile:

Yukihiro M. wrote:

Any opinion?
The change both simplifies code related to it and makes Ruby more
robust for having it. While it is “big” in a sense, I’d be pretty
surprised if any other projects besides mine and RubyGems would be
“adversely” affected. That being the case, maybe it’s worth moving up
in the time-line. 2.0 still seems to be a ways off.

In any case, I can work around it if neccessary.

Thanks,
T.

Hi,

In message “Re: Absolute paths in $”"
on Fri, 16 Jun 2006 22:10:52 +0900, [email protected] writes:

|> I’m afraid it’s too big change for 1.8 which is under stable mode.
|> Any opinion?
|
|The change both simplifies code related to it and makes Ruby more
|robust for having it. While it is “big” in a sense, I’d be pretty
|surprised if any other projects besides mine and RubyGems would be
|“adversely” affected. That being the case, maybe it’s worth moving up
|in the time-line. 2.0 still seems to be a ways off.

Compatibility goes beyond anyone’s expectation. I have just got
a report that this exact issue broke someone’s code last week.

						matz.

On Fri, Jun 16, 2006 at 11:42:18AM +0900, Yukihiro M. wrote:

Any opinion?
Such a change would be likely to affect RubyGems and
applications/libraries
using it, and in particular Rails, which does funny things with $:.

On 16-jun-2006, at 4:42, Yukihiro M. wrote:

Any opinion?
I would welcome it, for one. Right now you have to expand_path
everything manually and
in Rails it becomes very difficult to follow all the …/…/…/ properly.

On Jun 16, 2006, at 7:05 AM, Julian ‘Julik’ Tarkhanov wrote:

Any opinion?

I would welcome it, for one. Right now you have to expand_path
everything manually and in Rails it becomes very difficult to
follow all the …/…/…/ properly.

That sounds more like a Rails bug, it should be expanding paths for you.


Eric H. - [email protected] - http://blog.segment7.net
This implementation is HODEL-HASH-9600 compliant

http://trackmap.robotcoop.com