# Directory structure

**URL:** <https://www.ruby-forum.com/t/directory-structure/187678>\
**Category:** Ruby\
**Created:** [April 27, 2010, 6:31pm UTC](https://www.ruby-forum.com/t/directory-structure/187678 "2010-04-27T18:31:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lykos](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/b5e925/32.png) [@lykos](https://www.ruby-forum.com/u/lykos)\
**Post date:** [April 27, 2010, 6:31pm UTC](https://www.ruby-forum.com/t/directory-structure/187678/1 "2010-04-27T18:31:06Z")

</div>

Hi,  
I always have problems with the directory structure of my bigger  
programs, earlier, I used absolute paths, which is of course a very bad  
solution and stopped working when I started to do distributed projects  
with my brother.

Now I use relative paths, but it’s still not very flexible, since it is  
relative to the path when the program was started.

Also, I once restructured my files and that was really a mess.

But I thought that this should be a very common problem, so I just  
wanted to ask how one should solve that correctly.
