# Folder layout again

**URL:** <https://www.ruby-forum.com/t/folder-layout-again/84210>\
**Category:** Ruby\
**Created:** [February 2, 2007, 10:47am UTC](https://www.ruby-forum.com/t/folder-layout-again/84210 "2007-02-02T10:47:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Victor\_SZverokSS\_Sh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/f04885/32.png) [@Victor\_SZverokSS\_Sh](https://www.ruby-forum.com/u/Victor_SZverokSS_Sh)\
**Post date:** [February 2, 2007, 10:47am UTC](https://www.ruby-forum.com/t/folder-layout-again/84210/1 "2007-02-02T10:47:13Z")

</div>

Hi all.

The question is: there are several small libraries (libA, libB, libC…)  
with  
dependencies of each other. For distributing them, I do something like  
(if  
libA depends on libB, the distributions would look):

libA/  
ext  
doc  
lib  
…  
redist/  
ext/  
libB.so  
lib/  
libB.rb  
libB/  
\*.rb of libB

But, when I have additionally libC depending on libA, the structures  
became  
like

libC/lib/redist/lib/libA/lib/redist/lib/libB …

which doesn’t look cool at al.

what’s the normal practice for distributing libraries with complex  
dependencies, and not to require user to install (end even know about)  
dependant libraries?

Thanks.

V.
