From: Tim Pease Date: 2010-07-23T03:41:08+09:00 Subject: Re: Typical Ruby (non-rails) project structure. On Jul 22, 2010, at 11:41 AM, Carl Jenkins wrote: > What is/are the best-practice(s) for a Ruby project structure? > > As I am just learning Ruby I put everything in one file but, now I am > learning about Modules etc.. > > In Java, classes where in packages which helped with code organization. > Is there a typical way to layout a Ruby project structure? Take a look at Mr Bones. It encapsulates many ruby best-practices and lots of rake tasks to take care of the day-to-day development tasks gem install bones bones create new_project cd new_project rake -T # shows you all the available tasks rake bones:help # shows you the various project configuration settings Other tools in the same vein as Mr Bones are "hoe" and "jeweler" gem install hoe gem install jeweler I'm slightly partial to Mr Bones being the author and all. Blessings, TwP