#517 ✓resolved
Luis Lavena

extlib specs small correction for String#relative_path_from

Reported by Luis Lavena | August 5th, 2008 @ 05:03 PM

Hello DM developers!

I found a small glitch with the String#relative_path_from.

The information used to built the matching was based in a hardcoded and wrong assumption.

It prepend File::SEPARATOR all the time, which is unneeded since Pathname is clever enough to handle that relation successfully.

Also, it affected execution success in Windows because it tried to prepend "/" to "D:/..." (site_dir).

Please see the attached patch (just 1 liner, he).

Thanks in advance for your time reading and looking forward to include this fix in the repository soon.



Luis Lavena

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »