7stud -- wrote:
> One thing 
> I discovered:  join() doesn't work in this case.  You are trying to join 
> something like:
> 
> /users/me/Test + /users/me/2testing/dir2/test2.txt
> 
> and join just puts a '/' between them producing:
> 
> /users/me/Test //users/me/2testing/dir2/test2.txt

I'm not seeing that here...

Tim@macbook: ~ => irb
>> d1 = "/Users/me/Test" 
=> "/Users/me/Test"
>> d2 = "/Users/me/2testing/dir2/test2.txt"
=> "/Users/me/2testing/dir2/test2.txt"
>> File.join(d1, d2)
=> "/Users/me/Test/Users/me/2testing/dir2/test2.txt"
>> 

I am on the latest ruby though (1.8.6-p111) so behavior might have 
changed since 1.8.2...

Cheers,
Tim
-- 
Posted via http://www.ruby-forum.com/.