Thank you all, guys!

I have now the following array:

- 
/Users/Josh/Webwork/PsyGuide.org/public/../config/../public/images/content/parties/photo_galleries/1/2005_10_08_-_claudias_abschieds_party-01.jpg
- 
/Users/Josh/Webwork/PsyGuide.org/public/../config/../public/images/content/parties/photo_galleries/1/2005_10_08_-_claudias_abschieds_party-02.jpg
- 
/Users/Josh/Webwork/PsyGuide.org/public/../config/../public/images/content/parties/photo_galleries/1/2005_10_08_-_claudias_abschieds_party-03.jpg
- 
/Users/Josh/Webwork/PsyGuide.org/public/../config/../public/images/content/parties/photo_galleries/1/2005_10_08_-_claudias_abschieds_party-04.jpg
- 
/Users/Josh/Webwork/PsyGuide.org/public/../config/../public/images/content/parties/photo_galleries/1/2005_10_08_-_claudias_abschieds_party-05.jpg
- 
/Users/Josh/Webwork/PsyGuide.org/public/../config/../public/images/content/parties/photo_galleries/1/2005_10_08_-_claudias_abschieds_party-06.jpg
- 
/Users/Josh/Webwork/PsyGuide.org/public/../config/../public/images/content/parties/photo_galleries/1/2005_10_08_-_claudias_abschieds_party-07.jpg
- 
/Users/Josh/Webwork/PsyGuide.org/public/../config/../public/images/content/parties/photo_galleries/1/2005_10_08_-_claudias_abschieds_party-08.jpg
- 
/Users/Josh/Webwork/PsyGuide.org/public/../config/../public/images/content/parties/photo_galleries/1/2005_10_08_-_claudias_abschieds_party-09.jpg
- 
/Users/Josh/Webwork/PsyGuide.org/public/../config/../public/images/content/parties/photo_galleries/1/2005_10_08_-_claudias_abschieds_party-10.jpg
- 
/Users/Josh/Webwork/PsyGuide.org/public/../config/../public/images/content/parties/photo_galleries/1/2005_10_08_-_claudias_abschieds_party-11.jpg
- 
/Users/Josh/Webwork/PsyGuide.org/public/../config/../public/images/content/parties/photo_galleries/1/2005_10_08_-_claudias_abschieds_party-12.jpg
- 
/Users/Josh/Webwork/PsyGuide.org/public/../config/../public/images/content/parties/photo_galleries/1/2005_10_08_-_claudias_abschieds_party-13.jpg
- 
/Users/Josh/Webwork/PsyGuide.org/public/../config/../public/images/content/parties/photo_galleries/1/2005_10_08_-_claudias_abschieds_party-14.jpg
- 
/Users/Josh/Webwork/PsyGuide.org/public/../config/../public/images/content/parties/photo_galleries/1/2005_10_08_-_claudias_abschieds_party-15.jpg
- 
/Users/Josh/Webwork/PsyGuide.org/public/../config/../public/images/content/parties/photo_galleries/1/2005_10_08_-_claudias_abschieds_party-16.jpg
- 
/Users/Josh/Webwork/PsyGuide.org/public/../config/../public/images/content/parties/photo_galleries/1/2005_10_08_-_claudias_abschieds_party-17.jpg
- 
/Users/Josh/Webwork/PsyGuide.org/public/../config/../public/images/content/parties/photo_galleries/1/2005_10_08_-_claudias_abschieds_party-18.jpg
- 
/Users/Josh/Webwork/PsyGuide.org/public/../config/../public/images/content/parties/photo_galleries/1/2005_10_08_-_claudias_abschieds_party-19.jpg
- 
/Users/Josh/Webwork/PsyGuide.org/public/../config/../public/images/content/parties/photo_galleries/1/2005_10_08_-_claudias_abschieds_party-20.jpg

Is there a way to clean the path (I mean the unnecessary "/..")?

Thanks. :-)

-- 
Posted via http://www.ruby-forum.com/.