[Rubygems-developers] Directory structure suggestion

Gavin Sinclair gsinclair at soyabean.com.au
Thu Mar 18 22:27:23 EST 2004


Hi,

It bothers me that the gems directory structure is messy.  Actual gem
directories are at the same level as other, more general directories.

Here is the current contents of mine:

  cache/
  doc/
  rake-0.3.1
  sources-0.0.1
  specifications/
  test-1.2.3

It *should* be:

  README.txt
  cache/
  doc/
  gems/
  specifications/

It's probably difficult to change it now, but if it were my project,
I'd bite the bullet and do it.

An alternative is:

  META/cache/
  META/doc/
  META/specifications/
  README.txt
  rake-0.3.1
  sources-0.0.1
  ...


'gem' could be modified to automatically move the directories around
if necessary so that people running the next version wouldn't even
know.

What do you think?

Gavin
  




More information about the Rubygems-developers mailing list